[PATCH 0/3] erofs-utils: tests: cover the canonical xattr order
Martin Pitt <[email protected]> Tue, 4 Aug 2026 05:32:11 +0200
| Newsgroups | org.ozlabs.lists.linux-erofs |
|---|---|
| Message-ID | <[email protected]> |
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
--
2.55.0