]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/556: call _require_dm_target later
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Oct 2023 13:11:02 +0000 (15:11 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 22 Oct 2023 06:38:17 +0000 (14:38 +0800)
_require_dm_target tries to use $SCRATCH_DEV, so move it after we've
established that the configuration has a valid $SCRATCH_DEV.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/556

index 66908a541051dd5b7713dc4b6ba070840d4c54d4..061d8d57233092b888d97ff0942a6b99b731a937 100755 (executable)
@@ -25,10 +25,10 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
-_require_dm_target error
 _require_scratch
 _require_scratch_xfs_crc
 _require_scrub
+_require_dm_target error
 
 filter_scrub_errors() {
        _filter_scratch | sed \