summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-11-17 18:19:12 +0000
committerJim Meyering <jim@meyering.net>2005-11-17 18:19:12 +0000
commit29eb8e66c271175315c407f7d51ea879b0e863d5 (patch)
tree40645039ed45f45096901eeab6c8fc1bc3fbe5d8
parent97de3a32b60561942cc337607fb4ea9eedb2c2e3 (diff)
downloadcoreutils-29eb8e66c271175315c407f7d51ea879b0e863d5.tar.xz
*** empty log message ***
-rw-r--r--tests/acl18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/acl b/tests/acl
new file mode 100644
index 000000000..28995c18a
--- /dev/null
+++ b/tests/acl
@@ -0,0 +1,18 @@
+if ! getfacl --version 2> /dev/null 1>&2 || \
+ ! setfacl --version 2> /dev/null 1>&2 ; then
+ cat <<EOF 1>&2
+**************************************
+This test requires getfacl and setfacl.
+**************************************
+EOF
+ (exit 77); exit 77
+fi
+
+if ! grep '^bin:' /etc/passwd 2> /dev/null 1>&2 ; then
+ cat <<EOF 1>&2
+**************************************
+This test requires a local user named bin.
+**************************************
+EOF
+ (exit 77); exit 77
+fi