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 -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html