From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga04-in.huawei.com ([45.249.212.190]:5152 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752078AbeAaKTv (ORCPT ); Wed, 31 Jan 2018 05:19:51 -0500 From: "zhangyi (F)" Subject: [xfstests PATCH v2 4/5] overlay: skip check for tests finished with corrupt filesystem Date: Wed, 31 Jan 2018 18:27:58 +0800 Message-ID: <20180131102759.40997-5-yi.zhang@huawei.com> In-Reply-To: <20180131102759.40997-1-yi.zhang@huawei.com> References: <20180131102759.40997-1-yi.zhang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Sender: fstests-owner@vger.kernel.org To: eguan@redhat.com, fstests@vger.kernel.org Cc: linux-unionfs@vger.kernel.org, miklos@szeredi.hu, amir73il@gmail.com, yi.zhang@huawei.com, miaoxie@huawei.com, yangerkun@huawei.com List-ID: 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 --- tests/overlay/019 | 2 +- tests/overlay/031 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 diff --git a/tests/overlay/031 b/tests/overlay/031 index 186b409..90a06af 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 -- 2.5.0