aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2018-12-08 08:22:16 +1100
committerBen Elliston <bje@gnu.org>2018-12-08 08:22:16 +1100
commit433e2b2cc0815dc8795a950b3f4eeaa0d46c3d0c (patch)
tree45335cf6bf839577c5d5d70e9e3c82cee4ca36df
parent39f9a7703a57127792b0760bef116c1cb6952d52 (diff)
downloaddejagnu-433e2b2cc0815dc8795a950b3f4eeaa0d46c3d0c.zip
dejagnu-433e2b2cc0815dc8795a950b3f4eeaa0d46c3d0c.tar.gz
dejagnu-433e2b2cc0815dc8795a950b3f4eeaa0d46c3d0c.tar.bz2
* lib/tip.exp (tip_open): Put braces around if expression.
-rw-r--r--ChangeLog4
-rw-r--r--lib/tip.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e770be3..a64f2e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2018-12-08 Ben Elliston <bje@gnu.org>
+ * lib/tip.exp (tip_open): Put braces around if expression.
+
+2018-12-08 Ben Elliston <bje@gnu.org>
+
* runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
diff --git a/lib/tip.exp b/lib/tip.exp
index 8e19178..9fb94dd 100644
--- a/lib/tip.exp
+++ b/lib/tip.exp
@@ -59,7 +59,7 @@ proc tip_open { hostname } {
warning "Never got prompt."
set result -1
incr tries
- if $tries<=2 {
+ if { $tries <= 2 } {
exp_continue
}
}