On Sun, Dec 02, 2007 at 07:29:49PM +0100, Elias Pipping wrote: > On Sun, Dec 02, 2007 at 09:05:05AM -0800, Paul Eggert wrote: > > Elias Pipping <[EMAIL PROTECTED]> writes: > > > > > coreutils-6.9.90 fail a single test, help-version, on > > > i386-apple-darwin9.1.0. > > > > Can you please try running that test in verbose mode? Like this: > > > > cd misc > > VERBOSE=yes make TESTS=help-version check
I've just run the check-root test suite, with these two tests failing: * preserve-gid * special-bits I've attached the (verbose) logs. -- Elias
FAIL: special-bits.log (exit: 1) ================================ + cp --version cp (GNU coreutils) 6.9.90 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering. + PRIV_CHECK_ARG=require-root + . ./../priv-check ++ case "$PRIV_CHECK_ARG" in ++ who='as root' +++ id -u ++ my_uid=0 ++ test 0 = 0 ++ case $my_uid in ++ test 0 = 0 ++ : nobody +++ id -u nobody ++ coreutils_non_root_uid=4294967294 ++ test 0 = 0 ++ test 4294967294 = 0 ++ give_msg=no ++ case $PRIV_CHECK_ARG:$my_uid in ++ test no = yes + . ./../test-lib.sh ++ unset function_test ++ eval 'function_test() { return 11; }; function_test' +++ function_test +++ return 11 ++ test 11 '!=' 11 +++ pwd ++ test_dir_=/Users/pipping/coreutils-6.9.90/tests/cp +++ this_test_ +++ echo ././special-bits +++ sed 's,.*/,,' ++ this_test=special-bits ++ . ./../envvar-check +++ as_unset=unset +++ envvar_check_failed=0 +++ vars=' _POSIX2_VERSION BLOCKSIZE BLOCK_SIZE CDPATH COLUMNS DF_BLOCK_SIZE DU_BLOCK_SIZE LS_BLOCK_SIZE LS_COLORS POSIXLY_CORRECT QUOTING_STYLE SIMPLE_BACKUP_SUFFIX TABSIZE TERM TIME_STYLE TMPDIR VERSION_CONTROL ' +++ for var in '$vars' +++ unset _POSIX2_VERSION +++ eval test '"${_POSIX2_VERSION+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset BLOCKSIZE +++ eval test '"${BLOCKSIZE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset BLOCK_SIZE +++ eval test '"${BLOCK_SIZE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset CDPATH +++ eval test '"${CDPATH+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset COLUMNS +++ eval test '"${COLUMNS+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset DF_BLOCK_SIZE +++ eval test '"${DF_BLOCK_SIZE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset DU_BLOCK_SIZE +++ eval test '"${DU_BLOCK_SIZE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset LS_BLOCK_SIZE +++ eval test '"${LS_BLOCK_SIZE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset LS_COLORS +++ eval test '"${LS_COLORS+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset POSIXLY_CORRECT +++ eval test '"${POSIXLY_CORRECT+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset QUOTING_STYLE +++ eval test '"${QUOTING_STYLE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset SIMPLE_BACKUP_SUFFIX +++ eval test '"${SIMPLE_BACKUP_SUFFIX+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset TABSIZE +++ eval test '"${TABSIZE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset TERM +++ eval test '"${TERM+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset TIME_STYLE +++ eval test '"${TIME_STYLE+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset TMPDIR +++ eval test '"${TMPDIR+set}"' = set ++++ test '' = set +++ for var in '$vars' +++ unset VERSION_CONTROL +++ eval test '"${VERSION_CONTROL+set}"' = set ++++ test '' = set +++ test '' = 1 +++ /Users/pipping/coreutils-6.9.90/src/mktemp -d --tmp=/Users/pipping/coreutils-6.9.90/tests/cp cu-special-bits.XXXXXXXXXX ++ t_=/Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89 ++ trap 'st=$?; cleanup_; d=/Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89; cd /Users/pipping/coreutils-6.9.90/tests/cp && chmod -R u+rwx "$d" && rm -rf "$d" && exit $st' 0 ++ trap '(exit $?); exit $?' 1 2 13 15 ++ cd /Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89 ++ diff --version ++ grep GNU + touch a b c + chmod u+sx,go= a + chmod u=rwx,g=sx,o= b + chmod a=r,ug+sx c + chown nobody . + chmod u=rwx,g=rx,o=rx . + fail=0 + cp -p a a2 cp: `a': No such file or directory + fail=1 ++ ls -l a + set _ -rws------ 1 root staff 0 2007-12-03 12:05 a + shift + p1=-rws------ ++ ls -l a2 + set _ -rwx------ 1 root staff 0 2007-12-03 12:05 a2 + shift + p2=-rwx------ + test -rws------ = -rwx------ + fail=1 + cp -p b b2 cp: `b': No such file or directory + fail=1 ++ ls -l b + set _ -rwx--s--- 1 root staff 0 2007-12-03 12:05 b + shift + p1=-rwx--s--- ++ ls -l b2 + set _ -rwx------ 1 root staff 0 2007-12-03 12:05 b2 + shift + p2=-rwx------ + test -rwx--s--- = -rwx------ + fail=1 + setuidgid nobody env PATH=/Users/pipping/coreutils-6.9.90/src:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin cp -p c c2 cp: `c': No such file or directory + fail=1 ++ ls -l c + set _ -r-sr-sr-- 1 root staff 0 2007-12-03 12:05 c + shift + p1=-r-sr-sr-- ++ ls -l c2 + set _ -r-x------ 1 nobody staff 0 2007-12-03 12:05 c2 + shift + p2=-r-x------ + test -r-sr-sr-- = -r-x------ + exit 1 + exit 1 + st=1 + cleanup_ + : + d=/Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89 + cd /Users/pipping/coreutils-6.9.90/tests/cp + chmod -R u+rwx /Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89 + rm -rf /Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89 rm: cannot remove `/Users/pipping/coreutils-6.9.90/tests/cp/cu-special-bits.0r5WYmPw89': Operation not permitted
FAIL: preserve-gid.log (exit: 1) ================================ + cp --version cp (GNU coreutils) 6.9.90 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering. ++ perl -le 'foreach my $i (1000..16*1024-1) { getpwuid $i or (print $i), exit }' + nameless_uid=1000 ++ perl -le 'foreach my $i (1000..16*1024) { getgrgid $i or (print $i), exit }' + nameless_gid1=1000 ++ perl -le 'foreach my $i (1000+1..16*1024) { getgrgid $i or (print $i), exit }' + nameless_gid2=1001 + test -z 1000 + test -z 1000 + test -z 1001 + chown +1000 . + create a0 0 0 + echo a0 + chown +0:+0 a0 + create b0 1000 1000 + echo b0 + chown +1000:+1000 b0 + create b1 1000 1001 + echo b1 + chown +1000:+1001 b1 + create c0 0 1000 + echo c0 + chown +0:+1000 c0 + create c1 0 1001 + echo c1 + chown +0:+1001 c1 + t0 a0 0 0 cp + f=a0 + shift + u=0 + shift + g=0 + shift + rm -f b + cp a0 b ++ stat -c '%u %g' b + s='0 20' + test 'x0 20' '!=' 'x0 0' + echo './preserve-gid: cp a0 b: 0 0 != 0 20' ./preserve-gid: cp a0 b: 0 0 != 0 20 + exit 1 + exit 1 + st=1 + cleanup_ + : + d=/Users/pipping/coreutils-6.9.90/tests/cp/cu-preserve-gid.xoMcxRWTmq + cd /Users/pipping/coreutils-6.9.90/tests/cp + chmod -R u+rwx /Users/pipping/coreutils-6.9.90/tests/cp/cu-preserve-gid.xoMcxRWTmq + rm -rf /Users/pipping/coreutils-6.9.90/tests/cp/cu-preserve-gid.xoMcxRWTmq rm: cannot remove `/Users/pipping/coreutils-6.9.90/tests/cp/cu-preserve-gid.xoMcxRWTmq': Operation not permitted
pgpQuI6hHZIR8.pgp
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
