]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-fstab-generator: skip test impacted by /mnt symlink 29711/head
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 25 Oct 2023 16:52:11 +0000 (17:52 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 Oct 2023 13:46:15 +0000 (14:46 +0100)
commit3570ee3688fdeb0ff360ec793cf41e90f00d7729
treecbd824efc9c24bbaafc8a550922f419d2dbc8484
parent8473ece90e53040931c880bcbff623f1a5c037cd
test-fstab-generator: skip test impacted by /mnt symlink

On rpm-ostree distributions such as Fedora SilverBlue /mnt
(and other well known paths) will be a symlink to a location
under /var. The fstab generator emits correct output in this
case, however, the data does not match the expected output
stored in the source tree.

Rather than trying to adapt the test data, just skip this
single test scenario when we see /mnt is a symlink.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
test/test-fstab-generator.sh