diff options
author | Ben Elliston <bje@gnu.org> | 2018-12-06 14:44:43 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2018-12-06 14:44:43 +1100 |
commit | e25f4f2080867bc7e60c18ccf60030976144a3e3 (patch) | |
tree | 05efe9bd842f5e3c6587ffb1f45aee9adc4cb8cc /config | |
parent | dbf1d99cb049da74a4a91a6ae1a752be0299d636 (diff) | |
download | dejagnu-e25f4f2080867bc7e60c18ccf60030976144a3e3.zip dejagnu-e25f4f2080867bc7e60c18ccf60030976144a3e3.tar.gz dejagnu-e25f4f2080867bc7e60c18ccf60030976144a3e3.tar.bz2 |
* runtest.exp: Replace '==' with 'eq' for string compares.
Likewise, replace '!=' with 'ne'. Replace a few instances of
[string length $str] == 0 with $str eq "".
* config/gdb-comm.exp: Likewise.
* lib/dg.exp: Likewise.
* lib/framework.exp: Likewise.
* lib/libgloss.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/target.exp: Likewise.
* lib/utils.exp: Likewise.
Diffstat (limited to 'config')
-rw-r--r-- | config/gdb-comm.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gdb-comm.exp b/config/gdb-comm.exp index fc25b9b..07ba25e 100644 --- a/config/gdb-comm.exp +++ b/config/gdb-comm.exp @@ -219,7 +219,7 @@ proc quit_gdb { } { set spawn_id [board_info host fileid] if { $spawn_id != "" && $spawn_id > -1 } { - if { [remote_send host "quit\n"] == "" } { + if { [remote_send host "quit\n"] eq "" } { remote_expect host 10 { -re ".*y or n.*$" { remote_send host "y\n" |