From 101a30a2a0f726ad0d4c4541b4e77eab3a1b7aa7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 5 Jan 2012 11:31:29 +0100 Subject: 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. --- tests/cp/acl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cp') 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" -- cgit v1.2.3-54-g00ecf