mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
+1
-1
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user