From patchwork Thu Jan 18 04:00:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Yi X-Patchwork-Id: 10172355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7EB13603B5 for ; Thu, 18 Jan 2018 03:53:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 707851FFDA for ; Thu, 18 Jan 2018 03:53:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61FCC1FFF9; Thu, 18 Jan 2018 03:53:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC1521FFDA for ; Thu, 18 Jan 2018 03:53:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753376AbeARDxd (ORCPT ); Wed, 17 Jan 2018 22:53:33 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:4655 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753279AbeARDxc (ORCPT ); Wed, 17 Jan 2018 22:53:32 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id BC01F56682088; Thu, 18 Jan 2018 11:53:18 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.361.1; Thu, 18 Jan 2018 11:53:14 +0800 From: "zhangyi (F)" To: , CC: , , , , , Subject: [xfstest PATCH v4 6/7] overlay: skip check for tests finished with corrupt filesystem Date: Thu, 18 Jan 2018 12:00:32 +0800 Message-ID: <20180118040033.19555-7-yi.zhang@huawei.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180118040033.19555-1-yi.zhang@huawei.com> References: <20180118040033.19555-1-yi.zhang@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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