public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: "zhangyi (F)" <yi.zhang@huawei.com>
To: linux-unionfs@vger.kernel.org, fstests@vger.kernel.org
Cc: miklos@szeredi.hu, amir73il@gmail.com, eguan@redhat.com,
	darrick.wong@oracle.com, yi.zhang@huawei.com, miaoxie@huawei.com
Subject: [PATCH for xfstests 0/4] overlay: add fsck.overlay basic tests
Date: Thu, 14 Dec 2017 14:48:42 +0800	[thread overview]
Message-ID: <20171214064846.21587-1-yi.zhang@huawei.com> (raw)

Hi all:

Here is the test cases for fsck.overlay split from fsck.overlay program.
Add fsck helper and hook to _check_test_fs/_check_scratch_fs as Amir
suggested, it will work only if fsck.overlay exists. Implement three basic
cases to test fsck how to deal with whiteouts/opaque xattr/redirect xattr.

zhangyi (F) (4):
  overlay: add filesystem check helper
  overlay: add fsck.overlay whiteout test
  overlay: add fsck.overlay opaque directory test
  overlay: add fsck.overlay redirect directory test

 common/config         |   1 +
 common/overlay        |  78 +++++++++++++++++++++
 common/rc             |   4 +-
 tests/overlay/201     |  98 ++++++++++++++++++++++++++
 tests/overlay/201.out |   3 +
 tests/overlay/202     | 141 ++++++++++++++++++++++++++++++++++++++
 tests/overlay/202.out |   5 ++
 tests/overlay/203     | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/203.out |   8 +++
 tests/overlay/group   |   3 +
 10 files changed, 524 insertions(+), 2 deletions(-)
 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


             reply	other threads:[~2017-12-14  6:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14  6:48 zhangyi (F) [this message]
2017-12-14  6:48 ` [PATCH for xfstests 1/4] overlay: add filesystem check helper zhangyi (F)
2017-12-14  9:05   ` Amir Goldstein
2017-12-14 12:40     ` zhangyi (F)
2017-12-14 13:14       ` Amir Goldstein
2017-12-14  6:48 ` [PATCH for xfstests 2/4] overlay: add fsck.overlay whiteout test zhangyi (F)
2017-12-14 13:13   ` Amir Goldstein
2017-12-15  5:35     ` zhangyi (F)
2017-12-14  6:48 ` [PATCH for xfstests 3/4] overlay: add fsck.overlay opaque directory test zhangyi (F)
2017-12-14 13:25   ` Amir Goldstein
2017-12-14  6:48 ` [PATCH for xfstests 4/4] overlay: add fsck.overlay redirect " zhangyi (F)
2017-12-14 13:44   ` Amir Goldstein
2017-12-15  6:42     ` zhangyi (F)
2017-12-15  7:23       ` Amir Goldstein
2017-12-15  8:57         ` zhangyi (F)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171214064846.21587-1-yi.zhang@huawei.com \
    --to=yi.zhang@huawei.com \
    --cc=amir73il@gmail.com \
    --cc=darrick.wong@oracle.com \
    --cc=eguan@redhat.com \
    --cc=fstests@vger.kernel.org \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miaoxie@huawei.com \
    --cc=miklos@szeredi.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox