fstests: fix broken _require_scratch usage
[xfstests-dev.git] / tests / xfs / 194
index 6c1eddbaf515ced9990fcaec8e13d5f7b6ecc343..3e186528fecd4d41f5eea1e5ae64db4f4cf3b3d1 100755 (executable)
@@ -32,6 +32,9 @@ _supported_os Linux
 # real QA test starts here
 rm -f $seqres.full
 
+_require_scratch
+_scratch_mkfs_xfs >/dev/null 2>&1
+
 # For this test we use block size = 1/8 page size
 pgsize=`$here/src/feature -s`
 blksize=`expr $pgsize / 8`
@@ -70,7 +73,6 @@ _filter_od()
     sed -e "s/^[0-9A-Fa-f ]\{7,8\}//"
 }
 
-_require_scratch
 unset MKFS_OPTIONS
 unset XFS_MKFS_OPTIONS