init.sh: fix an error in the previous change; add more comments
[pspp] / tests / test-set-mode-acl.sh
index 5d3d225196c3f453da51f21da7c9c8c6399698c7..ef2b71607414ee282c5d6286ee5a3fe93d30ff75 100755 (executable)
@@ -3,6 +3,12 @@
 # Show all commands when run with environment variable VERBOSE=yes.
 test -z "$VERBOSE" || set -x
 
+test "$USE_ACL" = 0 &&
+  {
+    echo "Skipping test: insufficient ACL support"
+    exit 77
+  }
+
 # func_tmpdir
 # creates a temporary directory.
 # Sets variable