bug-gnu-utils
[Top][All Lists]
Advanced

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

grep 2.5 test failures on HP-UX 11.00


From: Newton, Philip
Subject: grep 2.5 test failures on HP-UX 11.00
Date: Tue, 7 Jan 2003 17:43:11 +0100

I fetched grep-2.5.tar.gz and attempted to compile on a HP-UX platform
(`uname -a` = "HP-UX idndb B.11.00 A 9000/715 2004727219 two-user license").

I got two failures on `make check`. The first, big, one was that most files
tests/*.sh weren't executable; they had mode 644 rather than something like
755. That caused these errors:

<quote>
/bin/sh: ./warning.sh: cannot execute
FAIL: warning.sh
/bin/sh: ./khadafy.sh: cannot execute
FAIL: khadafy.sh
/bin/sh: ./spencer1.sh: cannot execute
FAIL: spencer1.sh
/bin/sh: ./bre.sh: cannot execute
FAIL: bre.sh
/bin/sh: ./ere.sh: cannot execute
FAIL: ere.sh
/bin/sh: ./status.sh: cannot execute
FAIL: status.sh
/bin/sh: ./empty.sh: cannot execute
FAIL: empty.sh
/bin/sh: ./options.sh: cannot execute
FAIL: options.sh
PASS: backref.sh
PASS: file.sh
====================
8 of 10 tests failed
====================
</quote>

After a "chmod 775 tests/*.sh", there was only one failure:

<quote>
PASS: warning.sh
PASS: khadafy.sh
PASS: spencer1.sh
Spencer bre test #16 failed
FAIL: bre.sh
PASS: ere.sh
PASS: status.sh
PASS: empty.sh
PASS: options.sh
PASS: backref.sh
PASS: file.sh
====================
1 of 10 tests failed
====================
</quote>

The failed test is this, from tests/bre.script:

<quote>
status=`echo '{' | { ${GREP} -e '\{' > /dev/null 2>&1; echo $? ; }`
if test $status -ne 0 ; then
        echo Spencer bre test \#16 failed
        failures=1
fi
</quote>

`src/grep --version` gives:

<quote>
grep (GNU grep) 2.5

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

</quote>

The compiler used is HP's cc, of some flavour or another.

Cheers,
Philip
-- 
Philip Newton                  address@hidden
datenrevision GmbH & Co. OHG      http://www.datenrevision.de
a gedas company                         TEL +49-40-797 007-37
Cuxhavener Str. 36, D-21149 Hamburg     FAX +49-40-797 007-10




reply via email to

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