Bruno Haible wrote: > Jim Meyering wrote: >> There was actually one failure on Solaris 10: >> >> FAIL: test-copy-acl-1.sh (exit: 1) >> ================================== >> >> + test 1 = 0 >> + func_tmpdir >> + : /var/tmp >> tmp=/var/tmp/glj4aWlm >> + test -n /var/tmp/glj4aWlm >> + test -d /var/tmp/glj4aWlm >> + pwd >> builddir=/home/1007/gu/meyering/coreutils-8.12.193-72030/gnulib-tests >> + cd /home/1007/gu/meyering/coreutils-8.12.193-72030/gnulib-tests >> + cd /var/tmp/glj4aWlm >> + rm -f tmpfile[0-9] tmpaclout[0-2] >> + echo Simple contents >> + chmod 600 tmpfile0 >> acl_flavor=none >> + test -f /sbin/chacl >> + func_test_copy tmpfile0 tmpfile1 >> + echo Simple contents >> + chmod 600 tmpfile1 >> + >> /home/1007/gu/meyering/coreutils-8.12.193-72030/gnulib-tests/test-copy-acl >> tmpfile0 tmpfile1 >> + >> /home/1007/gu/meyering/coreutils-8.12.193-72030/gnulib-tests/test-sameacls >> tmpfile0 tmpfile1 >> error accessing the ACLs of file tmpfile0 >> Abort - core dumped > > I could reproduce it on a Solaris 10 machine with ZFS. This patch fixes it:
That was quick ;-) I confirm that /var/tmp was ZFS for me, too, and with that patch the test now passes. Thanks! > 2011-09-06 Bruno Haible <br...@clisp.org> > > acl: Fix a test failure on newer Solaris 10 with ZFS. > * tests/test-sameacls.c (main): Interpret acl GETACLCNT failure with > ENOSYS as no ACL.