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>
This commit is contained in:
zhangyi (F)
2018-03-01 20:13:46 +08:00
committed by Eryu Guan
parent 4a73ad6ec8
commit 3ba014aaba
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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