From patchwork Tue Jan 23 07:34:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Yi X-Patchwork-Id: 10179641 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 53DA9602B7 for ; Tue, 23 Jan 2018 07:26:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AEE128676 for ; Tue, 23 Jan 2018 07:26:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FCDD28681; Tue, 23 Jan 2018 07:26:42 +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 AB4E028676 for ; Tue, 23 Jan 2018 07:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751178AbeAWH0k (ORCPT ); Tue, 23 Jan 2018 02:26:40 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4269 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751141AbeAWH0j (ORCPT ); Tue, 23 Jan 2018 02:26:39 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 94F3BC1528AD4; Tue, 23 Jan 2018 15:26:24 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.361.1; Tue, 23 Jan 2018 15:26:20 +0800 From: "zhangyi (F)" To: , CC: , , , , , Subject: [xfstests PATCH v5 5/7] overlay/003: fix fs check failure Date: Tue, 23 Jan 2018 15:34:50 +0800 Message-ID: <20180123073452.19074-6-yi.zhang@huawei.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180123073452.19074-1-yi.zhang@huawei.com> References: <20180123073452.19074-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 _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) Reviewed-by: Amir Goldstein --- 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