Skip to content

erofs-utils: tests: cover the canonical xattr order

Martin Pitt linux-erofs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3erofs-utils: tests: fix broken loop in POSIX shellstests/erofs/021+1 -10 replies
2/3erofs-utils: tests: look up programs with command -vtests/Makefile.am tests/common/rc tests/erofs/028+8 -80 replies
3/3erofs-utils: tests: check that the xattr layout is order-independenttests/Makefile.am tests/erofs/032 tests/erofs/032.out+82 -02 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/3] erofs-utils: tests: cover the canonical xattr order

A test for b260119b8edb ("erofs-utils: mkfs: emit an inode's xattrs in a canonical order"), plus two portability fixes that I ran into along the way. Based on experimental-tests (a3b00c4).

The test stages the same tree twice with the same attributes set in opposite order and compares the two images, so it needs neither root nor a mount. It is red without b260119b8edb and green with it. That commit is currently only in experimental, so the test fails as long as experimental-tests is run without it.

Martin Pitt (3):
erofs-utils: tests: fix broken loop in POSIX shells
erofs-utils: tests: look up programs with command -v
erofs-utils: tests: check that the xattr layout is order-independent

 tests/Makefile.am   |  5 ++-
 tests/common/rc     |  8 ++---
 tests/erofs/021     |  2 +-
 tests/erofs/028     |  6 ++--
 tests/erofs/032     | 77 +++++++++++++++++++++++++++++++++++++++++++++
 tests/erofs/032.out |  2 ++
 6 files changed, 91 insertions(+), 9 deletions(-)
 create mode 100755 tests/erofs/032
 create mode 100644 tests/erofs/032.out
Signature · 1 line
2.55.0