From: amodra Date: Mon, 26 Aug 2002 10:15:45 +0000 (+0000) Subject: * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e8055bec2bd82c5373bf95b2772890730e1c6470;p=pf3gnuchains%2Fsourceware.git * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on stdout. (strip_executable): Likewise. --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index eb83951cb0..aa768cb629 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-08-26 Alan Modra + + * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on + stdout. + (strip_executable): Likewise. + 2002-08-13 Alan Modra * binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022, diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index e36f14edb0..ad92c0da8a 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -371,7 +371,7 @@ proc strip_test { } { } set exec_output [binutils_run $NM "-a $NMFLAGS $objfile"] - if ![string match "*: no symbols*" $exec_output] { + if ![string match "" $exec_output] { fail $test return } @@ -558,7 +558,7 @@ proc strip_executable { prog flags test } { } set exec_output [binutils_run $NM "$NMFLAGS ${copyfile}"] - if ![string match "*: no symbols*" $exec_output] { + if ![string match "" $exec_output] { fail $test return }