]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/137: require scratch to be CRC enabled XFS
authorEryu Guan <eguan@redhat.com>
Wed, 23 Mar 2016 03:33:57 +0000 (14:33 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 23 Mar 2016 03:33:57 +0000 (14:33 +1100)
This test is only valid for CRC enabled XFS, and test fails with
MKFS_OPTIONS="-m crc=0" being set (no mount failure detected).

Fix it by adding _require_scratch_xfs_crc, which ensures scratch device
has CRC support and enabled.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/137

index f16226416798a3cf709eb3eba608664559a148cf..dec9fc99392a46b764e2c86ee9bfdf26ed7a1fa9 100755 (executable)
@@ -52,7 +52,7 @@ rm -f $seqres.full
 _supported_fs xfs
 _supported_os Linux
 _require_scratch
-_require_xfs_crc
+_require_scratch_xfs_crc
 _require_xfs_db_command "logformat"
 
 _scratch_mkfs >> $seqres.full 2>&1 || _fail "mkfs failed"