]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
shared/032: fix fsck failure
authorWang Shilong <wangshilong1991@gmail.com>
Tue, 14 Oct 2014 11:59:39 +0000 (22:59 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 14 Oct 2014 11:59:39 +0000 (22:59 +1100)
while running ./check tests/shared/032, it outputs something like:

FSTYP         -- btrfs
PLATFORM      -- Linux/x86_64 vm01 3.17.0-rc5+
MKFS_OPTIONS  -- /dev/sdc
MOUNT_OPTIONS -- /dev/sdc /mnt/scratch

shared/032 2s ... 2s
_check_btrfs_filesystem: filesystem on /dev/sdc is inconsistent (see /root/xfstests-dev/results//shared/032.full)
Ran: shared/032
Passed all 1 tests

This is because xfstests will run fsck after each unit test,
for tests/shared/032, we have reformated SCRATCH_DEV to other fs,
fix this problem by skipping fsck here.

Signed-off-by: Wang Shilong <wangshilong1991@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/shared/032

index 7835e30df1476290ce3ed06612de9746f06c21c1..a410003068e4e223a70fdb55ef9b9423b28ad43c 100755 (executable)
@@ -40,7 +40,7 @@ rm -f $seqres.full
 _supported_fs xfs btrfs
 _supported_os Linux
 
-_require_scratch
+_require_scratch_nocheck
 _require_no_large_scratch_dev
 
 # mkfs.btrfs did not have overwrite detection at first