From: Ralf Wildenhues Date: Mon, 18 Apr 2005 10:19:53 +0000 (+0000) Subject: * tests/demo-hardcode.test: Fix typo. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e87291cb1d6f2ac023a603e6bdbc2e90e495563;p=thirdparty%2Flibtool.git * tests/demo-hardcode.test: Fix typo. --- diff --git a/ChangeLog b/ChangeLog index bff4fc45f..9d8959021 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ +2005-04-18 Ralf Wildenhues + + * tests/demo-hardcode.test: Fix typo. + 2005-04-17 Ralf Wildenhues * 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 d2456b564..2050c73af 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.