bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failed tests for gnu coreutils 5.2.1


From: J.D. Baldwin
Subject: Failed tests for gnu coreutils 5.2.1
Date: Tue, 12 Apr 2005 18:57:28 -0400
User-agent: Mutt/1.4.2.1i

Built coreutils 5.2.1 on an Ultra-60 running Solaris 10 and got some
failed tests from 'make check' -- here are the details:

Configured with './configure --prefix=/opt/gnu'

$ uname -a
SunOS nautilus 5.10 s10_72 sun4u sparc SUNW,Ultra-60
$ gcc -v
Reading specs from /opt/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw 
--with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas 
--enable-shared --disable-libgcj
Thread model: posix
gcc version 3.4.2

[this is the Sun Companion CD packaged version of gcc]

$ gmake --version
GNU Make 3.80
[...]

I ran the configure, build and gmake all as root.

# RUN_EXPENSIVE_TESTS=yes gmake 

[...]

gmake[2]: Entering directory `/opt/src/coreutils-5.2.1/tests/chgrp'
gmake  check-TESTS
gmake[3]: Entering directory `/opt/src/coreutils-5.2.1/tests/chgrp'
./no-x: this test requires that you be a member of more than one group,
but running `id -nG' either failed or found just one.  If you really
are a member of at least two group, then rerun this test with FETISH_GROUPS
set in your environment to the space-separated list of names.  E.g.,

  env FETISH_GROUPS='users cdrom' make check

SKIP: no-x
PASS: posix-H
PASS: basic
PASS: deref
PASS: recurse
======================
All 4 tests passed
(1 tests were not run)

[...]

Note that neither -n or -G works with Solaris /usr/bin/id ... so even
though root is a member of lots of groups:

# groups
root other bin sys adm uucp mail tty lp nuucp daemon

the no-x test is skipped.  If I re-run it with /usr/xpg4/bin/id (which
does work with -nG) at the head of PATH, I get the same result
(skipped no-x test).  If I set FETISH_GROUPS, the test fails:

# FETISH_GROUPS='root other bin sys adm uucp mail tty lp nuucp daemon' gmake 
check

[...]

gmake[2]: Leaving directory `/opt/src/coreutils-5.2.1/tests/basename'
Making check in chgrp
gmake[2]: Entering directory `/opt/src/coreutils-5.2.1/tests/chgrp'
gmake  check-TESTS
gmake[3]: Entering directory `/opt/src/coreutils-5.2.1/tests/chgrp'
out exp differ: char 8, line 1
1,2d0
< chgrp: changing group of `d': Not owner
< chgrp: changing group of `d/no-x': Not owner
FAIL: no-x
PASS: posix-H
PASS: basic
PASS: deref
PASS: recurse
======================================
1 of 5 tests failed
Please report to address@hidden
======================================

Going back to the regular test suite, skipping no-x, I get this result:

gmake[2]: Entering directory `/opt/src/coreutils-5.2.1/tests/stty'
gmake  check-TESTS
gmake[3]: Entering directory `/opt/src/coreutils-5.2.1/tests/stty'
FAIL: row-col-1
PASS: basic-1
======================================
1 of 2 tests failed
Please report to address@hidden
======================================
gmake[3]: *** [check-TESTS] Error 1
gmake[3]: Leaving directory `/opt/src/coreutils-5.2.1/tests/stty'
gmake[2]: *** [check-am] Error 2
gmake[2]: Leaving directory `/opt/src/coreutils-5.2.1/tests/stty'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/opt/src/coreutils-5.2.1/tests'
gmake: *** [check-recursive] Error 1

Finally, executing 

# RUN_EXPENSIVE_TESTS=yes gmake check-root

resulted in a PASS result for all four tests.

I hope this is helpful to you.  If there is further troubleshooting
info you'd like me to provide, let me know.

jd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]