Re: [PATCH v3 5/7] overlay/003: fix fs check failure

Amir Goldstein
2018-01-12T19:12:30Z

On Fri, Jan 12, 2018 at 2:05 PM, zhangyi (F) <yi.zhang@huawei.com> wrote:
> _check_overlay_scratch_fs() will check lowerdir of overlay filesystem,
> this case remove this directory after test will lead to check failure,
> and it is not really necessary to remove this directory, so keep this
> directory.
>
> Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>

Looks correct,

Amir.

> ---
> tests/overlay/003 | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tests/overlay/003 b/tests/overlay/003
> index f980edb..154531e 100755
> --- a/tests/overlay/003
> +++ b/tests/overlay/003
> @@ -92,7 +92,6 @@ ls ${SCRATCH_MNT}/
> # unmount overlayfs but not base fs
> $UMOUNT_PROG $SCRATCH_MNT
>
> -rm -rf $lowerdir
> echo "Silence is golden"
> # success, all done
> status=0
> --
> 2.9.5
>