summaryrefslogtreecommitdiff
path: root/tests/test-xattrs.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-08-14 20:46:46 +0200
committerColin Walters <walters@verbum.org>2013-08-14 20:46:46 +0200
commitf68ac018c29d43a2af140ad3f52c415c708f60f5 (patch)
tree96b4af28120706698d5732268f240c94e5988d43 /tests/test-xattrs.sh
parent61773f6ca4f6029be016d573fcc661c6e2bfc63e (diff)
downloadostree-f68ac018c29d43a2af140ad3f52c415c708f60f5.tar.gz
test-xattrs: Skip if current FS doesn't support user_xattr
tmpfs doesn't =(
Diffstat (limited to 'tests/test-xattrs.sh')
-rwxr-xr-xtests/test-xattrs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-xattrs.sh b/tests/test-xattrs.sh
index d0173daf..6c19592b 100755
--- a/tests/test-xattrs.sh
+++ b/tests/test-xattrs.sh
@@ -19,6 +19,11 @@
set -e
+touch test-xattrs
+if ! setfattr -n user.testvalue -v somevalue test-xattrs; then
+ exit 77
+fi
+
echo "1..2"
. $(dirname $0)/libtest.sh