aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-04-25 14:06:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-04-25 14:06:10 +0000
commit8648f88f4cd44f6f7653b71a471a4f8e35bc73a4 (patch)
tree54f1263287eb755cfd241a0927e116cf5f7a6cfb /binutils
parente61e6fd13252856b7877f92bbbe54aad2789a8a5 (diff)
downloadgdb-8648f88f4cd44f6f7653b71a471a4f8e35bc73a4.zip
gdb-8648f88f4cd44f6f7653b71a471a4f8e35bc73a4.tar.gz
gdb-8648f88f4cd44f6f7653b71a471a4f8e35bc73a4.tar.bz2
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467 * binutils-all/objcopy.exp (strip_test): Also test "strip -g" on archive.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog6
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp6
2 files changed, 12 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index a7e6ad6..694694d 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/2467
+ * binutils-all/objcopy.exp (strip_test): Also test "strip -g"
+ on archive.
+
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
* lib/utils-lib.exp (default_binutils_run): Check exit status.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 23e537e..d46b538 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -359,6 +359,12 @@ proc strip_test { } {
return
}
+ set exec_output [binutils_run $STRIP "-g $archive"]
+ if ![string match "" $exec_output] {
+ fail $test
+ return
+ }
+
set exec_output [binutils_run $STRIP "$STRIPFLAGS $archive"]
if ![string match "" $exec_output] {
fail $test