From: zhangyi (F) Date: Thu, 1 Mar 2018 12:13:46 +0000 (+0800) Subject: overlay: skip check for tests finished with corrupt filesystem X-Git-Tag: v2022.05.01~1634 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3ba014aaba1c769433b961c74a78be8ffbd492ed;p=users%2Fhch%2Fxfstests-dev.git 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) Reviewed-by: Amir Goldstein Signed-off-by: Eryu Guan --- diff --git a/tests/overlay/019 b/tests/overlay/019 index 3e2bc4eb4..575aaf754 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 186b40984..90a06af6c 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 ef00138cb..1dafc46e0 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