From: H.J. Lu Date: Tue, 25 Apr 2006 14:06:10 +0000 (+0000) Subject: 2006-04-25 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8648f88f4cd44f6f7653b71a471a4f8e35bc73a4;p=binutils-gdb.git 2006-04-25 H.J. Lu PR binutils/2467 * binutils-all/objcopy.exp (strip_test): Also test "strip -g" on archive. --- diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index a7e6ad6d975..694694daecc 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-04-25 H.J. Lu + + PR binutils/2467 + * binutils-all/objcopy.exp (strip_test): Also test "strip -g" + on archive. + 2006-04-10 H.J. Lu * 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 23e537ea76a..d46b5381846 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