xfs/097: always mkfs with finobt enabled
authorYong Sun <YoSun@suse.com>
Wed, 7 Aug 2019 09:21:27 +0000 (09:21 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sun, 11 Aug 2019 13:37:39 +0000 (21:37 +0800)
xfs/097 already requires finobt support by

_require_xfs_mkfs_finobt
_require_xfs_finobt

Always enable finobt feature at mkfs time, so test runs even finobt
is not set in MKFS_OPTIONS.

[Eryu: rewrite commit summary and log]

Signed-off-by: Yong Sun <yosun@suse.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/097

index 68eae1d4b2e74adb6e6a5f2fc8d3202dd74976b1..1cb7d69c5be055026a70825921d1d9b7d756ae20 100755 (executable)
@@ -46,7 +46,7 @@ TESTDIR="${SCRATCH_MNT}/scratchdir"
 TESTFILE="${TESTDIR}/testfile"
 
 echo "+ create scratch fs"
-_scratch_mkfs_xfs > /dev/null
+_scratch_mkfs_xfs -m crc=1,finobt=1 > /dev/null
 
 echo "+ mount fs image"
 _scratch_mount