summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-21 19:01:27 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-21 19:01:27 +0000
commita55dc6f111dcffa36fae1a03f9eda0bbdfb6f41b (patch)
treee0dab67618186bdc27970f632ff67a114479da94 /yarns/9000-implements.yarn
parent4a974f24c686220a89bf943eaeda4965bf39c347 (diff)
downloadobnam-a55dc6f111dcffa36fae1a03f9eda0bbdfb6f41b.tar.gz
Fix test suite failures on TMPDIR without user xattr
Remove use of extended attributes from some tests. Make the remaining tests be conditional on whether extended attributes actually work in the temporary directory (in the user.* namespace).
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn12
1 files changed, 12 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index ab0fe1c8..b62d17f4 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -504,3 +504,15 @@ in a specific group.
IMPLEMENTS ASSUMING user is in group (\S+)
groups | tr ' ' '\n' | grep -Fx "$MATCH_1"
+
+
+Check on whether user extended attributes work
+----------------------------------------------
+
+Extended attributes are, at least on some filesystems, a mount-time
+option which may be disabled. In fact, experience has shown that it
+often is disabled on build servers.
+
+ IMPLEMENTS ASSUMING extended attributes are allowed for users
+ touch "$DATADIR/xattr.test"
+ setfattr -n user.foo -v bar "$DATADIR/xattr.test"