From: Mike Yuan Date: Thu, 18 Sep 2025 18:21:29 +0000 (+0200) Subject: TEST-81-GENERATORS: libmount disallows omitting fstype X-Git-Tag: v259-rc1~501^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afba4d4387bb02370a58aeaf6ae537a591a5d9cd;p=thirdparty%2Fsystemd.git TEST-81-GENERATORS: libmount disallows omitting fstype It's not well-formed to begin with. And util-linux's mount(8) is pretty much ubiquitously employed, hence it will be rejected elsewhere too. Just stop pretending it is valid just because glibc parser is sloppy. --- diff --git a/test/units/TEST-81-GENERATORS.fstab-generator.sh b/test/units/TEST-81-GENERATORS.fstab-generator.sh index 95eba8a9f63..34a79c3d1bf 100755 --- a/test/units/TEST-81-GENERATORS.fstab-generator.sh +++ b/test/units/TEST-81-GENERATORS.fstab-generator.sh @@ -49,10 +49,9 @@ FSTAB_GENERAL=( "/dev/test25 /x-systemd.validatefs xfs x-systemd.validatefs 0 0" # Incomplete, but valid entries - "/dev/incomplete1 /incomplete1" - "/dev/incomplete2 /incomplete2 ext4" - "/dev/incomplete3 /incomplete3 ext4 defaults" - "/dev/incomplete4 /incomplete4 ext4 defaults 0" + "/dev/incomplete1 /incomplete1 ext4" + "/dev/incomplete2 /incomplete2 ext4 defaults" + "/dev/incomplete3 /incomplete3 ext4 defaults 0" # Remote filesystems "/dev/remote1 /nfs nfs bg 0 0"