aboutsummaryrefslogtreecommitdiff
path: root/lib/kermit.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2003-08-07 03:58:36 +0000
committerBen Elliston <bje@gnu.org>2003-08-07 03:58:36 +0000
commit360dd4f6262ca54ea33bf745ff5559a913748a46 (patch)
treec02ce8fa5d6c1fa19a2d089b4465d195ee058133 /lib/kermit.exp
parentd7b7156075df25716082174f6baf2ac0e163e939 (diff)
downloaddejagnu-360dd4f6262ca54ea33bf745ff5559a913748a46.zip
dejagnu-360dd4f6262ca54ea33bf745ff5559a913748a46.tar.gz
dejagnu-360dd4f6262ca54ea33bf745ff5559a913748a46.tar.bz2
* Remove surplus semicolons in `for' commands.
Diffstat (limited to 'lib/kermit.exp')
-rw-r--r--lib/kermit.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kermit.exp b/lib/kermit.exp
index 0d46bb8..ed31f40 100644
--- a/lib/kermit.exp
+++ b/lib/kermit.exp
@@ -116,10 +116,10 @@ proc kermit_command { dest args } {
# Sometimes we have to send multiple ^\c sequences. Don't know
# why.
set timeout 2
- for { set i 1; } {$i<=5} {incr i} {
+ for { set i 1 } { $i <= 5 } { incr i } {
send -i $shell_id "c"
expect {
- -i $shell_id -re ".*Back at.*ermit.*>.*$" { set i 10;}
+ -i $shell_id -re ".*Back at.*ermit.*>.*$" { set i 10 }
-i $shell_id timeout {
if { $i > 2 } {
warning "Unable to get prompt from kermit."