Bruno Haible wrote: > On Solaris 10/x86 with gcc: > > slink-acl: set-up failure: > FAIL: ls/slink-acl ... > FAIL: ls/slink-acl (exit: 99) > ============================= ... > + setfacl -m user::rwx . > + touch k > + setfacl -m m::r k > use only 1 colon for mask and other entries. > + framework_failure_ ... > The setfacl command on Solaris accepts only 1 colon after 'm' for 'mask', > see <http://dlc.sun.com/osol/docs/content/SYSADV6/secfile-37.html>. But > I don't know how to fix the test: > > $ setfacl -m m::r k > use only 1 colon for mask and other entries. > $ setfacl -m m:r k > Unrecognized character found in mode field > $ setfacl -m m:400 k > Unrecognized character found in mode field > $ setfacl -s m:400 k > Unrecognized character found in mode field
Thank you! This fixes it: >From 11cb50ee6d20966abeed32cf61b5f26a984b7e7d Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Sat, 8 Oct 2011 17:57:01 +0200 Subject: [PATCH] tests: avoid ls/slink-acl test failure on Solaris 10 * tests/ls/slink-acl: Use setfacl's "-m user::r" option rather than less-portable "-m m::r". The latter did not work with Solaris 10's version of setfacl. Reported by Bruno Haible in http://thread.gmane.org/gmane.comp.gnu.coreutils.general/1726/focus=1737 --- tests/ls/slink-acl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/ls/slink-acl b/tests/ls/slink-acl index f4d0a11..124f897 100755 --- a/tests/ls/slink-acl +++ b/tests/ls/slink-acl @@ -22,7 +22,7 @@ print_ver_ ls require_setfacl_ touch k || framework_failure_ -setfacl -m m::r k || framework_failure_ +setfacl -m user::r k || framework_failure_ ln -s k s || framework_failure_ set _ $(ls -Log s); shift; link=$1 -- 1.7.7.rc0.362.g5a14