diff options
author | Luis Henriques <lhenriques@suse.com> | 2018-01-02 17:17:05 +0000 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2018-01-03 01:19:11 +0800 |
commit | ebe1aa88a197c63261a54c134f3596579d47708e (patch) | |
tree | dd91e5e30447ba30b73716b38ee3b1d1a9b43330 | |
parent | e76e13ce8c0b4f7144807dc00b1aabe0a1b23ef5 (diff) | |
download | xfstests-dev-ebe1aa88a197c63261a54c134f3596579d47708e.tar.gz |
generic/050: fix _require_local_device $SCRATCH_DEV check order
Commit 2b4eae7fd825 ("common/rc: add scratch shutdown support for
overlayfs") added a _require_local_device check to generic tests 042
and 050. However, for test 050, this check was added _before_
actually verifying that a SCRATCH_DEV actually exists. This patch
simply re-orders the _require_local_device to the right place.
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-x | tests/generic/050 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic/050 b/tests/generic/050 index dbf0ac5cd1..e6e8bc1b97 100755 --- a/tests/generic/050 +++ b/tests/generic/050 @@ -44,9 +44,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux -_require_local_device $SCRATCH_DEV _require_scratch_nocheck _require_scratch_shutdown +_require_local_device $SCRATCH_DEV _require_norecovery _scratch_mkfs >/dev/null 2>&1 |