diff mbox

[v3,7/7] overlay/019: fix fs check failure

Message ID 20180112120533.6099-8-yi.zhang@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zhang Yi Jan. 12, 2018, 12:05 p.m. UTC
This is a stability test, fsstress will create a lot of orphan
whiteouts in lowerdir, which will lead to inconsistency of overlay
image and fs check failure. No need to check this manual craft
file system, so just skip fs check.

Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
---
 tests/overlay/019 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Amir Goldstein Jan. 12, 2018, 7:10 p.m. UTC | #1
On Fri, Jan 12, 2018 at 2:05 PM, zhangyi (F) <yi.zhang@huawei.com> wrote:
> This is a stability test, fsstress will create a lot of orphan
> whiteouts in lowerdir, which will lead to inconsistency of overlay
> image and fs check failure. No need to check this manual craft
> file system, so just skip fs check.
>
> Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>

Looks correct

> ---
>  tests/overlay/019 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/overlay/019 b/tests/overlay/019
> index 3e2bc4e..575aaf7 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
> --
> 2.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/overlay/019 b/tests/overlay/019
index 3e2bc4e..575aaf7 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