From patchwork Sat Jul 28 08:42:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Yi X-Patchwork-Id: 10547907 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4CEC51822 for ; Sat, 28 Jul 2018 08:30:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E91F2BE3B for ; Sat, 28 Jul 2018 08:30:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 331022BE4B; Sat, 28 Jul 2018 08:30:32 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 A2B102BE47 for ; Sat, 28 Jul 2018 08:30:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726711AbeG1J4J (ORCPT ); Sat, 28 Jul 2018 05:56:09 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:58356 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726646AbeG1J4J (ORCPT ); Sat, 28 Jul 2018 05:56:09 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3839D110F8DED; Sat, 28 Jul 2018 16:30:19 +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.382.0; Sat, 28 Jul 2018 16:30:14 +0800 From: "zhangyi (F)" To: , CC: , , , , , Subject: [xfstests PATCH 0/3] overlay: enhance fsck.overlay test cases Date: Sat, 28 Jul 2018 16:42:39 +0800 Message-ID: <20180728084242.33918-1-yi.zhang@huawei.com> X-Mailer: git-send-email 2.13.6 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 Hi All, These are fsck.overlay program related patch set. The first patch correct the exit code of fsck.overlay in the existing 3 test cases, the second patch introduce a stress case to test stability, and the final patch add some exception cases to test exception handling process of fsck.overlay. The fsck.overlay program also was undate at: https://github.com/hisilicon/overlayfs-progs/tree/next All these three patches have been tested with the new fsck.overlay, please review. Thanks! Yi. zhangyi (F) (3): overlay: correct fsck.overlay exit code overlay: add fsck.overlay stress test overlay: add fsck.overlay exception tests common/config | 10 +++ tests/overlay/045 | 59 ++++++++----- tests/overlay/046 | 62 ++++++++----- tests/overlay/056 | 22 +++-- tests/overlay/061 | 81 +++++++++++++++++ tests/overlay/061.out | 2 + tests/overlay/062 | 236 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/overlay/062.out | 10 +++ tests/overlay/group | 2 + 9 files changed, 433 insertions(+), 51 deletions(-) create mode 100755 tests/overlay/061 create mode 100644 tests/overlay/061.out create mode 100755 tests/overlay/062 create mode 100644 tests/overlay/062.out