erofs-utils: tests: add test for xattrs in different layouts
PATCH v2 1/1 erofs-utils: tests: add test for xattrs in different layouts
Test xattr in following layouts:
- multiple inline xattrs for one single file
- multiple share xattrs for one single file
- mixed inline and share xattrs for one single file
- name/value field of xattr crossing block boundary
Signed-off-by Jingbo Xu <[email protected]>
---
changes since v1:
- make this test a new testcase, aka. erofs/020
- make it compatible with erofs-utils that doesn't support '-b #blocksize' feature yet. Now the testcase will try mkfs with '-b 1024' first, and retry with '-b 1024' dropped if the previous attempt fails.
--- tests/Makefile.am | 3 ++ tests/erofs/020 | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/erofs/020.out | 2 ++ 3 files changed, 100 insertions(+) create mode 100755 tests/erofs/020 create mode 100644 tests/erofs/020.out
tests/Makefile.am +3 -0
@@ -91,6 +91,9 @@ TESTS += erofs/018 # 019 - check extended attribute functionality TESTS += erofs/019 +# 020 - check extended attribute in different layouts +TESTS += erofs/020 + EXTRA_DIST = common/rc erofs clean-local: clean-local-check
tests/erofs/020 new file +95 -0
95 lines not on this page · raw message
tests/erofs/020.out new file +2 -0
@@ -0,0 +1,2 @@ +QA output created by 020 +Silence is golden
Signature · 1 line
1.8.3.1