Linux-EROFS Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] erofs-utils: tests: cover the canonical xattr order
@ 2026-08-04  3:32 Martin Pitt
  2026-08-04  3:32 ` [PATCH 1/3] erofs-utils: tests: fix broken loop in POSIX shells Martin Pitt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Martin Pitt @ 2026-08-04  3:32 UTC (permalink / raw)
  To: linux-erofs; +Cc: Gao Xiang, Yifan Zhao, Martin Pitt

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-04  3:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04  3:32 [PATCH 0/3] erofs-utils: tests: cover the canonical xattr order Martin Pitt
2026-08-04  3:32 ` [PATCH 1/3] erofs-utils: tests: fix broken loop in POSIX shells Martin Pitt
2026-08-04  3:32 ` [PATCH 2/3] erofs-utils: tests: look up programs with command -v Martin Pitt
2026-08-04  3:32 ` [PATCH 3/3] erofs-utils: tests: check that the xattr layout is order-independent Martin Pitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox