From: Ralf Wildenhues Date: Mon, 18 Apr 2005 10:19:22 +0000 (+0000) Subject: * tests/demo-hardcode.test: Fix typo. X-Git-Tag: release-2-1b~665 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d62ad2b24dcba92d73e65dfd4cc0e9030c827533;p=thirdparty%2Flibtool.git * tests/demo-hardcode.test: Fix typo. --- diff --git a/ChangeLog b/ChangeLog index 36aff6fcb..0299b96bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-04-18 Ralf Wildenhues + + * tests/demo-hardcode.test: Fix typo. + 2005-04-17 Alexandre Oliva , Peter O'Gorman @@ -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 . 2005-04-17 Ralf Wildenhues (tiny change) diff --git a/tests/demo-hardcode.test b/tests/demo-hardcode.test index f2b3ec896..73e5490ea 100755 --- a/tests/demo-hardcode.test +++ b/tests/demo-hardcode.test @@ -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.