[ostree: 17/70] test-xattrs: use TAP syntax to skip test



commit c276025466af4319d603fe8b534dd3463818a168
Author: Simon McVittie <smcv debian org>
Date:   Mon Mar 28 13:08:32 2016 +0100

    test-xattrs: use TAP syntax to skip test
    
    Signed-off-by: Simon McVittie <smcv debian org>
    
    Closes: #232
    Approved by: cgwalters

 tests/test-xattrs.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-xattrs.sh b/tests/test-xattrs.sh
index 6a83a0b..2f2d99c 100755
--- a/tests/test-xattrs.sh
+++ b/tests/test-xattrs.sh
@@ -21,7 +21,8 @@ set -euo pipefail
 
 touch test-xattrs
 if ! setfattr -n user.testvalue -v somevalue test-xattrs; then
-    exit 77
+    echo "1..0 # SKIP: cannot run setfattr"
+    exit 0
 fi
 
 echo "1..2"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]