* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout. (strip_executable): Likewise.
This commit is contained in:
parent
a1df01d1e4
commit
84938e2e33
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue