fstests: disable quotas before running test
[xfstests-dev.git] / tests / xfs / 065
index c0d1ee93ffaa2654bf56bc2758df3d9f4ff38963..b153366669efa2bafb415114d4bf7f987a47a731 100755 (executable)
@@ -29,6 +29,7 @@ _cleanup()
 . ./common/rc
 . ./common/filter
 . ./common/dump
+. ./common/quota
 
 #
 # list recursively the directory
@@ -50,12 +51,14 @@ _list_dir()
 # real QA test starts here
 _supported_fs xfs
 _supported_os Linux
+_require_scratch
 
 #
 # too much hassle to get output matching with quotas turned on
 # so don't run it
 #
 _scratch_mkfs_xfs >> $seqres.full
+_qmount_option noquota
 _scratch_mount
 $here/src/feature -U $SCRATCH_DEV && \
        _notrun "UQuota enabled, test needs controlled xfsdump output"