[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils-6.0: test failures on Solaris 7
From: |
Bruno Haible |
Subject: |
coreutils-6.0: test failures on Solaris 7 |
Date: |
Wed, 16 Aug 2006 15:59:51 +0200 |
User-agent: |
KMail/1.9.1 |
Hi,
On Solaris 7, building with "cc -O", I get two test failures:
------------------------------------------------------------------------
chmod/setgid fails
Here are details:
$ VERBOSE=yes gmake check TESTS=setgid
gmake check-TESTS
gmake[1]: Entering directory `/opt/coreutils-6.0/tests/chmod'
+ chmod --version
chmod (GNU coreutils) 6.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie and Jim Meyering.
+ . ./../envvar-check
as_unset=unset
envvar_check_failed=0
vars=
BLOCKSIZE
BLOCK_SIZE
CDPATH
DF_BLOCK_SIZE
DU_BLOCK_SIZE
LS_BLOCK_SIZE
POSIXLY_CORRECT
SIMPLE_BACKUP_SUFFIX
TIME_STYLE
VERSION_CONTROL
+ unset BLOCKSIZE
+ eval test "${BLOCKSIZE+set}" = set
+ test = set
+ unset BLOCK_SIZE
+ eval test "${BLOCK_SIZE+set}" = set
+ test = set
+ unset CDPATH
+ eval test "${CDPATH+set}" = set
+ test = set
+ unset DF_BLOCK_SIZE
+ eval test "${DF_BLOCK_SIZE+set}" = set
+ test = set
+ unset DU_BLOCK_SIZE
+ eval test "${DU_BLOCK_SIZE+set}" = set
+ test = set
+ unset LS_BLOCK_SIZE
+ eval test "${LS_BLOCK_SIZE+set}" = set
+ test = set
+ unset POSIXLY_CORRECT
+ eval test "${POSIXLY_CORRECT+set}" = set
+ test = set
+ unset SIMPLE_BACKUP_SUFFIX
+ eval test "${SIMPLE_BACKUP_SUFFIX+set}" = set
+ test = set
+ unset TIME_STYLE
+ eval test "${TIME_STYLE+set}" = set
+ test = set
+ unset VERSION_CONTROL
+ eval test "${VERSION_CONTROL+set}" = set
+ test = set
+ test = 1
+ . ./../lang-default
+ eval LANG=; export LANG
LANG=
+ export LANG
+ eval LANGUAGE=; export LANGUAGE
LANGUAGE=
+ export LANGUAGE
+ eval LC_ALL=; export LC_ALL
LC_ALL=
+ export LC_ALL
+ eval LC_COLLATE=; export LC_COLLATE
LC_COLLATE=
+ export LC_COLLATE
+ eval LC_CTYPE=; export LC_CTYPE
LC_CTYPE=
+ export LC_CTYPE
+ eval LC_MESSAGES=; export LC_MESSAGES
LC_MESSAGES=
+ export LC_MESSAGES
+ eval LC_NUMERIC=; export LC_NUMERIC
LC_NUMERIC=
+ export LC_NUMERIC
+ eval LC_TIME=; export LC_TIME
LC_TIME=
+ export LC_TIME
+ pwd
pwd=/opt/coreutils-6.0/tests/chmod
tmp=setgid.5336
+ trap status=$?; cd $pwd; rm -rf $tmp && exit $status 0
+ trap (exit $?); exit 1 2 13 15
framework_failure=0
+ cd .
+ pwd
abs_srcdir=/opt/coreutils-6.0/tests/chmod
+ cd /opt/coreutils-6.0/tests/chmod
+ mkdir setgid.5336
+ cd setgid.5336
+ umask 0
+ mkdir d
+ chmod g+s d
+ test 0 = 1
fail=0
+ chmod 755 d
+ ls -ld d
fail=1
+ exit 1
+ exit 1
status=1
+ cd /opt/coreutils-6.0/tests/chmod
+ rm -rf setgid.5336
+ exit 1
FAIL: setgid
======================================
1 of 1 tests failed
Please report to address@hidden
======================================
gmake[1]: *** [check-TESTS] Error 1
The failure is because "chmod g+s d" does nothing here. The current
directory is mounted from a NAS NFS server that ignores requests to set
the stick-group bit on directories in chmod (even if using the native
non-GNU /bin/chmod, even when I'm the owner of the directory and
the group of the directory is my original group). The only way I've
found to create a directory with a setgid bit set on this system is
through "mkdir" inside a directory that has the sticky bit already set,
followed by an "mv" to where I want to have it. Does someone know a
better alternative?
------------------------------------------------------------------------
ls-2/tests fails
See attached screenshot.
coreutils-solaris-ls-2.png
Description: PNG image
- coreutils-6.0: test failures on Solaris 7,
Bruno Haible <=