xfs/310: fix _require_scratch_nocheck ordering
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Jun 2018 16:43:14 +0000 (09:43 -0700)
committerEryu Guan <guaneryu@gmail.com>
Fri, 8 Jun 2018 06:12:09 +0000 (14:12 +0800)
In xfs/310 we have to _require_scratch_nocheck last because anything
else that calls _require_scratch (e.g. _require_xfs_scratch_rmapbt)
will create the "check scratch after test exit" file.

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>
tests/xfs/310

index 5c1f20ce453c7abc44e6230d4a88db1e4f3d420b..f7b7e30e3a061cd8dd81483e0b8d2c4e8b194c62 100755 (executable)
@@ -45,8 +45,8 @@ _cleanup()
 # real QA test starts here
 _supported_os Linux
 _supported_fs xfs
-_require_scratch_nocheck
 _require_xfs_scratch_rmapbt
+_require_scratch_nocheck
 _require_xfs_io_command "falloc"
 
 rm -f $seqres.full