summaryrefslogtreecommitdiff
path: root/tests/cp/acl
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-05 11:31:29 +0100
committerJim Meyering <meyering@redhat.com>2012-01-05 11:48:35 +0100
commit101a30a2a0f726ad0d4c4541b4e77eab3a1b7aa7 (patch)
tree9100f6feae25fefbe0ac92f0663046aec0eee970 /tests/cp/acl
parent931e0f2a708965001857d60cedf1b1940389cbe6 (diff)
downloadcoreutils-101a30a2a0f726ad0d4c4541b4e77eab3a1b7aa7.tar.xz
tests: adjust setfacl usage to accommodate Solaris 10
* cfg.mk (sc_prohibit_short_facl_mode_spec): New rule. * tests/cp/acl: Extend setfacl mode spec to have length 3. * tests/ls/slink-acl: Likewise. * tests/mv/acl: Likewise. Report and analysis by Bruno Haible.
Diffstat (limited to 'tests/cp/acl')
-rwxr-xr-xtests/cp/acl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/acl b/tests/cp/acl
index a53818628..94b7af69b 100755
--- a/tests/cp/acl
+++ b/tests/cp/acl
@@ -32,7 +32,7 @@ touch a/file || framework_failure_
# Ensure that setfacl and getfacl work on this file system.
skip=no
acl1=`cd a && getfacl file` || skip=yes
-setfacl -m user:bin:rw a/file 2> /dev/null || skip=yes
+setfacl -m user:bin:rw- a/file 2> /dev/null || skip=yes
test $skip = yes &&
skip_ "'.' is not on a suitable file system for this test"