]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/{628,629}: fix order of _require_scratch* and _require_dm_target
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Wed, 8 Sep 2021 08:37:13 +0000 (17:37 +0900)
committerEryu Guan <guaneryu@gmail.com>
Sun, 12 Sep 2021 09:18:41 +0000 (17:18 +0800)
commit070bdc3cc4872f4e6f40210dffbb5c2cdc984a75
tree5c8a8deeec000a903bacb58dad9e47e8b5501a39
parent285c8e8a2d3007c572398d9c78e2160f6a970e19
generic/{628,629}: fix order of _require_scratch* and _require_dm_target

Test cases with dm_target shall call _require_scratch* before
_require_dm_target to ensure that valid SCRATCH_DEV is available for
dm_target. However, the test cases generic/628 and generic/629 call
_require_dm_target before _require_scratch*, then unexpected failure
was reported when SCRATCH_DEV is not specified. Fix the order of
function calls.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/628
tests/generic/629