From 3ba014aaba1c769433b961c74a78be8ffbd492ed Mon Sep 17 00:00:00 2001 From: "zhangyi (F)" Date: Thu, 1 Mar 2018 20:13:46 +0800 Subject: [PATCH] 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 --- tests/overlay/019 | 2 +- tests/overlay/031 | 2 +- tests/overlay/049 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/overlay/019 b/tests/overlay/019 index 3e2bc4eb..575aaf75 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 186b4098..90a06af6 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 ef00138c..1dafc46e 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 -- 2.30.2