* [PATCH] generic/050: fix _require_local_device $SCRATCH_DEV check order
@ 2018-01-02 17:17 Luis Henriques
0 siblings, 0 replies; only message in thread
From: Luis Henriques @ 2018-01-02 17:17 UTC (permalink / raw)
To: fstests; +Cc: Chengguang Xu, Luis Henriques
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>
---
tests/generic/050 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/generic/050 b/tests/generic/050
index dbf0ac5cd185..e6e8bc1b9733 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-02 17:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-02 17:17 [PATCH] generic/050: fix _require_local_device $SCRATCH_DEV check order Luis Henriques
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox