bug-coreutils
[Top][All Lists]
Advanced

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

5.96: 3 test failures on HP-UX 11.23


From: Ralf Wildenhues
Subject: 5.96: 3 test failures on HP-UX 11.23
Date: Mon, 29 May 2006 19:30:58 +0200
User-agent: Mutt/1.5.11+cvs20060403

I get 3 failures on hppa2.0w-hp-hpux11.23:
misc/close-stdout, touch/no-create-missing, and help-version (groups),
see the verbose output below.  Note that I also get the warning below.

On ia64-hp-hpux11.23, the same tests fail.
On hppa2.0w-hp-hpux11.11, I get no test failures, and no such warning.

Cheers,
Ralf

************************************************
WARNING: On this system, the built-in echo function of /bin/sh
does not report failure when writing to a full device.
To demonstrate, run this command:

  /bin/sh -c 'echo hello > /dev/full; echo status=$?'

Notice that the failing echo leaves its exit status set to zero
and does not produce a diagnostic.

That bug in /bin/sh would cause the test of the groups
scripts to fail, so it is being removed from the list of
programs checked by this test.
************************************************


gmake  check-TESTS
gmake[1]: Entering directory 
`/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc'
+ rm --version
rm (GNU coreutils) 5.96
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 Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.
+ + pwd
pwd=/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc
+ + echo ../../../coreutils-5.96/tests/misc/close-stdout
+ sed s,.*/,,
t0=close-stdout.tmp
+ tmp=close-stdout.tmp/17850
+ trap status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status 0
+ trap (exit $?); exit $? 1 2 13 15
+ framework_failure=0
+ mkdir -p close-stdout.tmp/17850
+ cd close-stdout.tmp/17850
+ test 0 = 1
+ 
PATH=/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc/../..:/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc/../../src:/home/ralf/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/opt/aCC/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin/X11
+ export PATH
+ fail=0
+ touch a
+ cp a b
+ + test -f b
+ chmod o-w .
+ + ln a c
+ + rm c
+ + mkdir d
+ + mv d e
+ + rmdir e
+ + touch e
+ + sleep 0
+ + /home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc/../../src/true
+ + /home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc/../../src/printf
+ + 
/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc/../../src/printf foo
+ 2> /dev/null
+ fail=1
+ cp --verbose a b
+ 2> /dev/null
+ fail=1
+ exit 1
+ exit 1
+ status=1
+ cd /home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/misc
+ chmod -R u+rwx close-stdout.tmp
+ rm -rf close-stdout.tmp
+ exit 1
FAIL: close-stdout

gmake  check-TESTS
gmake[1]: Entering directory 
`/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/touch'
+ touch --version
touch (GNU coreutils) 5.96
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 Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy 
Smith.
+ + pwd
pwd=/home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/touch
+ + echo ../../../coreutils-5.96/tests/touch/no-create-missing
+ sed s,.*/,,
tmp=no-create-missing.tmp
+ trap status=$?; cd $pwd; rm -rf $tmp && exit $status 0
+ trap (exit $?); exit 1 2 13 15
+ framework_failure=0
+ mkdir no-create-missing.tmp
+ cd no-create-missing.tmp
+ test 0 = 1
+ fail=0
+ touch -c no-file
+ 1> /dev/null 2>& 1
+ touch -cm no-file
+ 1> /dev/null 2>& 1
+ touch -ca no-file
+ 1> /dev/null 2>& 1
+ touch -c -
+ 2> /dev/null
+ fail=1
+ touch -cm -
+ 2> /dev/null
+ fail=1
+ touch -ca -
+ 2> /dev/null
+ fail=1
+ exit 1
+ exit 1
+ status=1
+ cd /home/ralf/coreutils/build-hppa2.0w-hp-hpux11.23/tests/touch
+ rm -rf no-create-missing.tmp
+ exit 1
FAIL: no-create-missing



$ gmake check-TESTS VERBOSE=yes TESTS=help-version
[...]

+ test groups = test
+ test groups = false
+ test groups = install
+ ../src/groups --help
+ 1> h-groups
+ ../src/groups --version
+ 1> /dev/null
+ grep address@hidden h-groups
+ 1> /dev/null
+ rm -f h-groups
+ test -w /dev/full
+ test -c /dev/full
+ ../src/groups --help
+ 1> /dev/full 2> /dev/null
+ fail=1
+ ../src/groups --version
+ 1> /dev/full 2> /dev/null
+ fail=1
+ status=0
+ test groups = [
+ prog=groups
+ eval expected=$expected_failure_status_groups
+ expected=
+ test x = x
+ expected=1
+ test 0 = 1
+ fail=1
+ echo *** groups: bad exit status `0' (expected 1),
+ 1>& 2
*** groups: bad exit status `0' (expected 1),
+ echo   with --help or --version output redirected to /dev/full
+ 1>& 2
  with --help or --version output redirected to /dev/full
+ test head = test
+ test head = false
+ test head = install
[...]

[ three instances of the above sequence ]

+ 0< in-17911 1> out-17911
+ :
+ rm -rf in-17911 in2-17911 out-17911 dir-17911
+ cd ..
+ rm -rf tmp-17911
+ exit 1
FAIL: help-version




reply via email to

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