[PATCH 27/33] generic/050: skip test because fuse2fs doesn't have stable output

Darrick J. Wong
2025-10-29T01:27:28Z

fuse2fs doesn't have a stable output, so skip this test for now.

--- a/tests/generic/050.out 2025-07-15 14:45:14.951719283 -0700
+++ b/tests/generic/050.out.bad 2025-07-16 14:06:28.283170486 -0700
@@ -1,7 +1,7 @@
QA output created by 050
+FUSE2FS (sdd): Warning: Mounting unchecked fs, running e2fsck is recommended.
setting device read-only
mounting read-only block device:
-mount: device write-protected, mounting read-only
touching file on read-only filesystem (should fail)
touch: cannot touch 'SCRATCH_MNT/foo': Read-only file system
unmounting read-only filesystem
@@ -12,10 +12,10 @@
unmounting shutdown filesystem:
setting device read-only
mounting filesystem that needs recovery on a read-only device:
-mount: device write-protected, mounting read-only
unmounting read-only filesystem
mounting filesystem with -o norecovery on a read-only device:
-mount: device write-protected, mounting read-only
+FUSE2FS (sdd): read-only device, trying to mount norecovery
+FUSE2FS (sdd): Warning: Mounting unchecked fs, running e2fsck is recommended
unmounting read-only filesystem
setting device read-write
mounting filesystem that needs recovery with -o ro:

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
tests/generic/050 | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tests/generic/050 b/tests/generic/050
index 3bc371756fd221..13fbdbbfeed2b6 100755
--- a/tests/generic/050
+++ b/tests/generic/050
@@ -47,6 +47,10 @@ elif [ "$FSTYP" = "btrfs" ]; then
# it can be treated as "nojournal".
features="nojournal"
fi
+if [[ "$FSTYP" =~ fuse.ext[234] ]]; then
+ # fuse2fs doesn't have stable output, skip this test...
+ _notrun "fuse doesn't have stable output"
+fi
_link_out_file "$features"