aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangyi (F) <yi.zhang@huawei.com>2018-03-01 20:13:46 +0800
committerEryu Guan <guaneryu@gmail.com>2018-03-01 23:02:06 +0800
commit3ba014aaba1c769433b961c74a78be8ffbd492ed (patch)
tree3e839b14ac10ff1f21a5aee34890d4b0a9df4080
parent4a73ad6ec8a932c354b20503686c2ba00ad6097f (diff)
downloadxfstests-dev-3ba014aaba1c769433b961c74a78be8ffbd492ed.tar.gz
overlay: skip check for tests finished with corrupt filesystem
No post-test check of the overlay dirs is required if case leaves corrupt filesystem after test. We shoud use _require_scratch_nocheck() instead of _require_scratch() in these cases. Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-xtests/overlay/0192
-rwxr-xr-xtests/overlay/0312
-rwxr-xr-xtests/overlay/0492
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/overlay/019 b/tests/overlay/019
index 3e2bc4eb40..575aaf754e 100755
--- a/tests/overlay/019
+++ b/tests/overlay/019
@@ -46,7 +46,7 @@ rm -f $seqres.full
# real QA test starts here
_supported_fs overlay
_supported_os Linux
-_require_scratch
+_require_scratch_nocheck
# Remove all files from previous tests
_scratch_mkfs
diff --git a/tests/overlay/031 b/tests/overlay/031
index 186b40984c..90a06af6cb 100755
--- a/tests/overlay/031
+++ b/tests/overlay/031
@@ -67,7 +67,7 @@ rm -f $seqres.full
# real QA test starts here
_supported_fs overlay
_supported_os Linux
-_require_scratch
+_require_scratch_nocheck
# remove all files from previous runs
_scratch_mkfs
diff --git a/tests/overlay/049 b/tests/overlay/049
index ef00138cb8..1dafc46e03 100755
--- a/tests/overlay/049
+++ b/tests/overlay/049
@@ -72,7 +72,7 @@ rm -f $seqres.full
# real QA test starts here
_supported_fs overlay
_supported_os Linux
-_require_scratch
+_require_scratch_nocheck
_require_scratch_feature redirect_dir
# remove all files from previous runs