diff options
Diffstat (limited to 'tests/cp/acl')
-rwxr-xr-x | tests/cp/acl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cp/acl b/tests/cp/acl index 5221ee9ac..02761ced2 100755 --- a/tests/cp/acl +++ b/tests/cp/acl @@ -23,6 +23,13 @@ # Make sure we get English translations. . $srcdir/../lang-default +# Skip this test if cp was built without ACL support: +grep '^#define USE_ACL 0' $CONFIG_HEADER > /dev/null && \ + { + echo 1>&2 "$0: insufficient ACL support, so skipping this test" + (exit 77); exit 77 + } + if test "$VERBOSE" = yes; then set -x mv --version |