Skip to content

overlay/017: fix false negatives

Amir Goldstein fstests linux-unionfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4src/t_dir_type: support filtering by inode numberdoc/auxiliary-programs.txt src/t_dir_type.c+15 -30 replies
2/4overlay/017: use t_dir_type to find file by d_inotests/overlay/017+2 -10 replies
3/4overlay/017: test consistent st_ino/d_ino for hardlinkstests/overlay/017+3 -30 replies
4/4overlay: tag tests 016-018 as experimentaltests/overlay/group+3 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] overlay/017: fix false negatives

Eryu,

With current mainline master branch, overlay/017 may pass on some systems (e.g. kvm-xfstests) due to a bug in the test, which I already reported.

This series fixes the test back to failing by using the auxiliary program t_dir_type instead of 'find' whose behavior is system dependent.

I also removed the exception of testing hardlinks, so now the test really tests what it was meant to test (constant inode number across copy up) without any discounts for special cases.

Amir.

Amir Goldstein (4):
src/t_dir_type: support filtering by inode number overlay/017: use t_dir_type to find file by d_ino overlay/017: test consistent st_ino/d_ino for hardlinks
overlay: tag tests 016-018 as experimental

 doc/auxiliary-programs.txt |  7 +++++++
 src/t_dir_type.c           | 11 ++++++++---
 tests/overlay/017          |  9 +++++----
 tests/overlay/group        |  6 +++---
 4 files changed, 23 insertions(+), 10 deletions(-)
Signature · 1 line
2.7.4