fstests: fix broken _require_scratch usage

_require_scratch doesn't actually format the scratch device with
anything, which means that tests are required to format them before
using them.  Fix tests that don't do this correctly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2019-03-19 17:46:01 -07:00
committed by Eryu Guan
parent c2cda723f6
commit 8309b39a8a
9 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ _supported_os Linux
# too much hassle to get output matching with quotas turned on
# so don't run it
#
_scratch_unmount 2>/dev/null
_scratch_mkfs_xfs >> $seqres.full
_scratch_mount
$here/src/feature -U $SCRATCH_DEV && \
_notrun "UQuota enabled, test needs controlled xfsdump output"