* tests/demo-hardcode.test: Fix typo.

This commit is contained in:
Ralf Wildenhues 2005-04-18 10:19:22 +00:00
parent 0a89b38e7e
commit d62ad2b24d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/demo-hardcode.test: Fix typo.
2005-04-17 Alexandre Oliva <aoliva@redhat.com>,
Peter O'Gorman <peter@pogma.com>
@ -15,6 +19,7 @@
* tests/demo-hardcode.test [solaris]: Use dumpstabs if available,
to avoid false failure caused by debug section which contains
command line (Solaris cc).
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
2005-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)

View File

@ -83,8 +83,8 @@ for file in hc-*; do
# (which only works on ASCII).
# AIX fgrep also has a limited line length, so we turn unprintable
# characters into newlines.
if cat $file | (tr '\000-\037\200-\377' '\n' || cat) 2>/dev/null \
| $FGREP "$objdir" > /dev/null 2>&1; then
elif cat $file | (tr '\000-\037\200-\377' '\n' || cat) 2>/dev/null \
| $FGREP "$objdir" > /dev/null 2>&1; then
hardcoded=yes
elif $FGREP "$objdir" $file > /dev/null 2>&1; then
# We retry fgrep without tr, in case the above lead to a false negative.