public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] overlay: add fsck.overlay basic tests
@ 2018-01-12 12:05 zhangyi (F)
  2018-01-12 12:05 ` [PATCH v3 1/7] overlay: add filesystem check helper zhangyi (F)
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: zhangyi (F) @ 2018-01-12 12:05 UTC (permalink / raw)
  To: linux-unionfs, fstests
  Cc: miklos, amir73il, eguan, yi.zhang, miaoxie, yangerkun

Hi all:

Here is the third version of test cases for the upcoming fsck.overlay,
corresponding to fsck.overlay v4 (will post to github repository soon).
Test fsck.overlay check and fix inconsistency of whiteout and redirect/impure
xattr.

Changes since v2:
- Modify some minor suggestions from Amir and Vivek, and simplify code
  in all three test cases.
- Fix duplicate redirect xattr test in 202.
- Add impure xattr test case of general merge directory in 'no impure'
  parent directory.
- Fix fs check failure in other overlay fs test cases. PS: The
  multi-lowers problem in overlay/010 also appears in many other tests,
  _require_scratch() will mis-check the pre-defined underlying dirs
  (not the real test dirs). I think they also need to be modified as this
  patch(06/07) does to check the correct dirs, and I can fix them if you
  think necessary.

------

Changes since v1:

- Fix _check_scratch_fs hook.
- Remove valid/invalid opaque xattr test.
- Add whiteout test cases of valid/invalid whiteouts in opaque/redirect
  parent directory.
- Add impure xattr test.

zhangyi (F) (7):
  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
  overlay/003: fix fs check failure
  overlay/010: fix fs check failure
  overlay/019: fix fs check failure

 common/config         |   1 +
 common/overlay        |  80 +++++++++++++++++
 common/rc             |   4 +-
 tests/overlay/003     |   1 -
 tests/overlay/010     |  11 +--
 tests/overlay/019     |   2 +-
 tests/overlay/201     | 232 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/201.out |  10 +++
 tests/overlay/202     | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/202.out |  10 +++
 tests/overlay/203     | 143 ++++++++++++++++++++++++++++++
 tests/overlay/203.out |   4 +
 tests/overlay/group   |   3 +
 13 files changed, 732 insertions(+), 9 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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-01-15  4:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 12:05 [PATCH v3 0/7] overlay: add fsck.overlay basic tests zhangyi (F)
2018-01-12 12:05 ` [PATCH v3 1/7] overlay: add filesystem check helper zhangyi (F)
2018-01-12 12:05 ` [PATCH v3 2/7] overlay: add fsck.overlay whiteout test zhangyi (F)
2018-01-12 20:58   ` Amir Goldstein
2018-01-12 12:05 ` [PATCH v3 3/7] overlay: add fsck.overlay redirect directory test zhangyi (F)
2018-01-12 21:32   ` Amir Goldstein
2018-01-12 12:05 ` [PATCH v3 4/7] overlay: add fsck.overlay impure xattr test zhangyi (F)
2018-01-12 20:52   ` Amir Goldstein
2018-01-12 12:05 ` [PATCH v3 5/7] overlay/003: fix fs check failure zhangyi (F)
2018-01-12 19:12   ` Amir Goldstein
2018-01-12 12:05 ` [PATCH v3 6/7] overlay/010: " zhangyi (F)
2018-01-12 19:10   ` Amir Goldstein
2018-01-12 12:05 ` [PATCH v3 7/7] overlay/019: " zhangyi (F)
2018-01-12 19:10   ` Amir Goldstein
2018-01-12 19:19 ` [PATCH v3 0/7] overlay: add fsck.overlay basic tests Amir Goldstein
2018-01-15  4:11   ` zhangyi (F)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox