From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga07-in.huawei.com ([45.249.212.35]:58647 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753090AbeAaKRp (ORCPT ); Wed, 31 Jan 2018 05:17:45 -0500 From: "zhangyi (F)" Subject: [xfstests PATCH v2 0/4] overlay: add fsck.overlay basic tests Date: Wed, 31 Jan 2018 18:26:00 +0800 Message-ID: <20180131102604.40701-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: Hi Eryu: This is the test cases for the fsck.overlay[1] to test orphan whiteout, invalid/duplicate reiderct dirs, and the missing impure xattr. These works only when fsck.overlay exists. (These patchset split form origin patchset[2]) This revision have already handled all comments form Amir, please review. Thanks, Yi. [1] https://github.com/hisilicon/overlayfs-progs [2] https://www.spinics.net/lists/linux-unionfs/msg03988.html Changes since v1: - improve _overlay_fsck_dirs helper to accept more than one options. zhangyi (F) (4): overlay: add filesystem check helper overlay: add fsck.overlay whiteout test overlay: add fsck.overlay redirect directory test overlay: add fsck.overlay impure xattr test common/config | 1 + common/overlay | 14 +++ tests/overlay/201 | 232 +++++++++++++++++++++++++++++++++++++++++++ tests/overlay/201.out | 10 ++ tests/overlay/202 | 269 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/overlay/202.out | 11 +++ tests/overlay/203 | 143 +++++++++++++++++++++++++++ tests/overlay/203.out | 4 + tests/overlay/group | 3 + 9 files changed, 687 insertions(+) create mode 100755 tests/overlay/201 create mode 100644 tests/overlay/201.out create mode 100755 tests/overlay/202 create mode 100644 tests/overlay/202.out create mode 100755 tests/overlay/203 create mode 100644 tests/overlay/203.out -- 2.5.0