From: Eryu Guan Date: Wed, 23 Mar 2016 03:33:57 +0000 (+1100) Subject: xfs/137: require scratch to be CRC enabled XFS X-Git-Tag: v2022.05.01~2581 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ca068259d567610485fb92989fede1aa027e8e2a;p=xfstests-dev.git xfs/137: require scratch to be CRC enabled XFS 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/xfs/137 b/tests/xfs/137 index f1622641..dec9fc99 100755 --- a/tests/xfs/137 +++ b/tests/xfs/137 @@ -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"