Skip to contentSkip to conversation

xfs/137: require scratch to be CRC enabled XFS

PATCH In review Eryu Guan 2 participants 2 messages Mar 3, 2016

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

PATCH 1/1 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.

---
 tests/xfs/137 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/xfs/137 +1 -1
index f162264..dec9fc9 100755
@@ -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"
Signature · 1 line
2.5.0