]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
authorAlan Modra <amodra@gmail.com>
Mon, 26 Aug 2002 10:15:46 +0000 (10:15 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 26 Aug 2002 10:15:46 +0000 (10:15 +0000)
stdout.
(strip_executable): Likewise.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp

index eb83951cb04bf3edb8db6421ec4d8fbb3d8f9272..aa768cb62992229d479146fa65c60af951dbc545 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
+       stdout.
+       (strip_executable): Likewise.
+
 2002-08-13  Alan Modra  <amodra@bigpond.net.au>
 
        * binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022,
index e36f14edb0fa4a4326f9d45a469dad3ed2ffcd7d..ad92c0da8ad11bd8812c88d8b0d5b4d1d95c8b1c 100644 (file)
@@ -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
     }