Skip to content

Misc. fsck.overlay test fixes

Amir Goldstein fstests linux-unionfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 5 repliesIn review

Changes in v3 from the cover letter

- Dropped patches of new tests
- Move fsck exit code constants to common/config
- Fix _repair_scratch_fs

[1] https://marc.info/?l=fstests&m=153967515805435&w=2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fstests: define constants for fsck exit codescommon/config common/rc+12 -11 reply
2/4overlay: fix _repair_scratch_fscommon/overlay common/rc+28 -21 reply
3/4overlay: correct fsck.overlay exit codecommon/overlay tests/overlay/045 tests/overlay/046 +1 more+43 -483 replies
4/4overlay: fix exit code for some fsck.overlay valid casestests/overlay/045 tests/overlay/046+29 -30 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

Patchzhangyi (F)
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Misc. fsck.overlay test fixes

Eryu,

This is a re-post for zhangyi's fsck.overlay test fixes from October [1]. Based on my own code review of those patches, I have made some minor modifications and added some more fixes.

I have been carrying the two patches by zhangyi in my dev branch for a while. Without them running overlay tests with fsck.overlay installed is failing some tests.

Zhangyi,

Please review my changes, some based on your suggestions. Feel free to re-post "fsck.overlay stress test" and "fsck.overlay exception tests". My goal with this posting was just to fix failures of existing tests when fsck.overlay is installed.

Thanks,
Amir.

Changes from v2:
- Dropped patches of new tests
- Move fsck exit code constants to common/config
- Fix _repair_scratch_fs

[1] https://marc.info/?l=fstests&m=153967515805435&w=2

Amir Goldstein (2):
fstests: define constants for fsck exit codes
overlay: fix _repair_scratch_fs

zhangyi (F) (2):
overlay: correct fsck.overlay exit code
overlay: fix exit code for some fsck.overlay valid cases

 common/config     | 11 +++++++++++
 common/overlay    | 36 ++++++++++++++++++++++++++++++++++
 common/rc         | 15 ++++++++++++---
 tests/overlay/045 | 46 ++++++++++++++++++++++++--------------------
 tests/overlay/046 | 49 ++++++++++++++++++++++++-----------------------
 tests/overlay/056 |  9 +++------
 6 files changed, 112 insertions(+), 54 deletions(-)
Signature · 1 line
2.17.1