Skip to content

erofs-utils: tests: restructure test cases for xattr

Jingbo Xu linux-erofs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5erofs-utils: tests: add generic helper for xattrstests/common/rc+32 -00 replies
2/5erofs-utils: tests: add test for xattrstests/Makefile.am tests/erofs/019 tests/erofs/019.out+60 -00 replies
3/5erofs-utils: tests: add test for xattrs in different layoutstests/Makefile.am tests/erofs/020 tests/erofs/020.out+82 -00 replies
4/5erofs-utils: tests: add test for xattr crossing block boundarytests/Makefile.am tests/common/rc tests/erofs/021 +1 more+71 -00 replies
5/5erofs-utils: tests: add test for long xattr name prefixestests/Makefile.am tests/common/rc tests/erofs/022 +1 more+88 -00 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/5] erofs-utils: tests: restructure test cases for xattr

This series restructures some existing test cases for xattr.

- patch 1/2: some generic helpers are extracted from erofs/019 [1]
- patch 3/4: the previous posted test case [2] checking xattrs in different layouts are split into two test cases, i.e. erofs/020 and erofs/021.
- erofs/020 checks xattrs in different layouts and is independent on the "-b#" feature of mkfs.erofs
- erofs/021 checks xattrs crossing block boundary. It is dependent on the "-b#" feature of mkfs.erofs and will "notrun" if mkfs.erofs doesn't support this feature yet
- patch 5: it's the previous posted test case [3] checking long xattr name prefixes, except that it will "notrun" if mkfs.erofs doesn't support "--xattr-prefix" feature yet

[1] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/tests/erofs/019?h=experimental-tests
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/[email protected]/

Huang Jianan (1):
erofs-utils: tests: add test for xattrs

Jingbo Xu (4):
erofs-utils: tests: add generic helper for xattrs
erofs-utils: tests: add test for xattrs in different layouts
erofs-utils: tests: add test for xattr crossing block boundary
erofs-utils: tests: add test for long xattr name prefixes

 tests/Makefile.am   | 12 +++++++++
 tests/common/rc     | 44 ++++++++++++++++++++++++++++++
 tests/erofs/019     | 55 ++++++++++++++++++++++++++++++++++++++
 tests/erofs/019.out |  2 ++
 tests/erofs/020     | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/erofs/020.out |  2 ++
 tests/erofs/021     | 60 +++++++++++++++++++++++++++++++++++++++++
 tests/erofs/021.out |  2 ++
 tests/erofs/022     | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/erofs/022.out |  2 ++
 10 files changed, 333 insertions(+)
 create mode 100755 tests/erofs/019
 create mode 100644 tests/erofs/019.out
 create mode 100755 tests/erofs/020
 create mode 100644 tests/erofs/020.out
 create mode 100755 tests/erofs/021
 create mode 100644 tests/erofs/021.out
 create mode 100755 tests/erofs/022
 create mode 100644 tests/erofs/022.out
Signature · 1 line
1.8.3.1