Skip to contentSkip to conversation

generic/689: add _require_acls

PATCH In review Yuezhang Mo 2 participants 2 messages Jun 6, 2025 – Jun 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic/689: add _require_acls

Before testing for ACLs, check whether the file system supports it with _require_acls.

---
 tests/generic/689 | 2 ++
 1 file changed, 2 insertions(+)
tests/generic/689 +2 -0
index 36c74cd7..739d10b3 100755
@@ -15,10 +15,12 @@ _begin_fstest auto quick perms idmapped
 
 # Import common functions.
 . ./common/filter
+. ./common/attr
 
 
 _require_test
 _require_idmapped_mounts
+_require_acls
 _require_user fsgqa
 _require_group fsgqa
 
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Yuezhang Mo

Before testing for ACLs, check whether the file system supports it with _require_acls.

---

It's good to me, and help to avoid below error on exfat testing.

+idmapped-mounts.c: 7569: setxattr_fix_705191b03d50 - Operation not permitted - failure: chown_r
+vfstest.c: 2418: run_test - Operation not permitted - failure: test that setxattr works correctly for userns mountable filesystems

Quoted 24 lines
 tests/generic/689 | 2 ++
 1 file changed, 2 insertions(+)
tests/generic/689 +2 -0
index 36c74cd7..739d10b3 100755
@@ -15,10 +15,12 @@ _begin_fstest auto quick perms idmapped
 
 # Import common functions.
 . ./common/filter
+. ./common/attr
 
 
 _require_test
 _require_idmapped_mounts
+_require_acls
 _require_user fsgqa
 _require_group fsgqa
 
Signature · 1 line
2.25.1