Skip to contentSkip to conversation

erofs-utils: tests: add test for long xattr name prefixes

PATCH New Jingbo Xu 1 participant 1 message Apr 11, 2023

lore
Share & tools
lore

Jingbo Xu

author
#0 lore raw

PATCH v2 1/1 erofs-utils: tests: add test for long xattr name prefixes

mkfs.erofs supports user specified long xattr name prefix through "--xattr_prefix" option.

Add test case for this feature.

---
v2: test the scenario where normal xattrs and long prefix xattrs mixed in one file

---
 tests/Makefile.am   |  3 ++
 tests/erofs/021     | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/erofs/021.out |  2 ++
 3 files changed, 99 insertions(+)
 create mode 100755 tests/erofs/021
 create mode 100644 tests/erofs/021.out
tests/Makefile.am +3 -0
index 67e2bbc..be2dfd9 100644
@@ -94,6 +94,9 @@ TESTS += erofs/019
 # 020 - check extended attribute in different layouts
 TESTS += erofs/020
 
+# 021 - check long extended attribute name prefixes
+TESTS += erofs/021
+
 EXTRA_DIST = common/rc erofs
 
 clean-local: clean-local-check
tests/erofs/021 new file +94 -0

94 lines not on this page · raw message

tests/erofs/021.out new file +2 -0
new file mode 100644
index 0000000..09f4062
@@ -0,0 +1,2 @@
+QA output created by 021
+Silence is golden
Signature · 1 line
1.8.3.1