Jim Meyering wrote in
<http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00161.html>:
> I built the very latest
> coreutils/gnulib on a FreeBSD 8.2-RELEASE system.  All tests passed
> except this one from gnulib:
> 
> FAIL: test-file-has-acl.sh (exit: 1)
> ====================================
> 
> + test 1 = 0
> + func_tmpdir
> + : /tmp
> + tmp=/tmp/gla57AHN
> + test -n /tmp/gla57AHN
> + test -d /tmp/gla57AHN
> + pwd
> + builddir=/u/guest/meyering/coreutils-8.12.80-82db7b/gnulib-tests
> + cd /u/guest/meyering/coreutils-8.12.80-82db7b/gnulib-tests
> + cd /tmp/gla57AHN
> + rm -f 'tmpfile[0-9]' tmp.err
> + echo 'Simple contents'
> + chmod 600 tmpfile0
> + acl_flavor=none
> + acl_flavor=freebsd
> + acl_ls_option=-ld
> + func_test_has_acl tmpfile0 no
> + func_test_file_has_acl tmpfile0 no
> + /u/guest/meyering/coreutils-8.12.80-82db7b/gnulib-tests/test-file-has-acl 
> tmpfile0
> + res=no
> + test no = no
> + /bin/ls -ld tmpfile0
> + sed 1q
> + test no = no
> + mkdir tmpdir0
> + func_test_has_acl tmpdir0 no
> + func_test_file_has_acl tmpdir0 no
> + /u/guest/meyering/coreutils-8.12.80-82db7b/gnulib-tests/test-file-has-acl 
> tmpdir0
> + res=no
> + test no = no
> + /bin/ls -ld tmpdir0
> + sed 1q
> + test no = no
> + test freebsd != none
> + test -f /usr/xpg4/bin/id
> + ID=id
> + id -u
> + myuid=14263
> + id -g
> + mygid=14263
> + auid=1
> + test 1 = 14263
> + agid=1
> + test 1 = 14263
> + setfacl -m user:1:1 tmpfile0
> setfacl: tmpfile0: acl_get_file() failed: Operation not supported
> + func_test_has_acl tmpfile0 yes
> + func_test_file_has_acl tmpfile0 yes
> + /u/guest/meyering/coreutils-8.12.80-82db7b/gnulib-tests/test-file-has-acl 
> tmpfile0
> + res=no
> + test no = yes
> + echo 'file_has_acl("tmpfile0") returned no, expected yes'
> file_has_acl("tmpfile0") returned no, expected yes
> + exit 1
> + exit 1

The test works fine in earlier versions of FreeBSD.

In order to debug this, I would need ssh access to a box running FreeBSD 8.2.
I tried to install FreeBSD 8.2 in VirtualBox for 3 hours, without success.

Bruno
-- 
In memoriam Maximilian Kolbe <http://en.wikipedia.org/wiki/Maximilian_Kolbe>

Reply via email to