aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-26 10:15:46 +0000
committerAlan Modra <amodra@gmail.com>2002-08-26 10:15:46 +0000
commit84938e2e33c8e5bfa776edcd44918e738e231372 (patch)
tree09cde4910d1200a464984d0476f0731541fcedce /binutils/testsuite
parenta1df01d1e4a68cdb42464418b3f973871180d72e (diff)
downloadgdb-84938e2e33c8e5bfa776edcd44918e738e231372.zip
gdb-84938e2e33c8e5bfa776edcd44918e738e231372.tar.gz
gdb-84938e2e33c8e5bfa776edcd44918e738e231372.tar.bz2
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout. (strip_executable): Likewise.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog6
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp4
2 files changed, 8 insertions, 2 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index eb83951..aa768cb 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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,
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index e36f14e..ad92c0d 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
}