aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2018-12-06 18:05:05 +1100
committerBen Elliston <bje@gnu.org>2018-12-06 18:05:05 +1100
commitd439887f64b9c7c146d9a9062b459d08c43f2a12 (patch)
tree2a2921cdef799eb805e6ec027ed258bbf72deec3 /config
parenta8e4dbd2a65255a1470962994b2888fc8ee3b9bc (diff)
downloaddejagnu-d439887f64b9c7c146d9a9062b459d08c43f2a12.zip
dejagnu-d439887f64b9c7c146d9a9062b459d08c43f2a12.tar.gz
dejagnu-d439887f64b9c7c146d9a9062b459d08c43f2a12.tar.bz2
* runtest.exp: Replace [string match] commands involving literal
strings and variables known to not be Tcl glob patterns with eq and ne. * config/unix.exp: Likewise. * lib/debugger.exp: Likewise. * lib/dg.exp: Likewise. * lib/framework.exp: Likewise. * lib/remote.exp: Likewise. * lib/utils.exp: Likewise. * baseboards/androideabi.exp: Likewise. * baseboards/multi-sim.exp: Likewise. * testsuite/lib/util-defs.exp: Likewise. * testsuite/runtest.all/config.test: Likewise.
Diffstat (limited to 'config')
-rw-r--r--config/unix.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unix.exp b/config/unix.exp
index 2a3432b..893d514 100644
--- a/config/unix.exp
+++ b/config/unix.exp
@@ -133,7 +133,7 @@ proc unix_load { dest prog args } {
setenv SHLIB_PATH $orig_ld_library_path
verbose "Executed $prog, status $status" 2
- if {![string match "" $output]} {
+ if {$output ne ""} {
verbose -- "$output" 2
}
if { $status == 0 } {