diff options
author | Ben Elliston <bje@gnu.org> | 2003-08-07 03:58:36 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2003-08-07 03:58:36 +0000 |
commit | 360dd4f6262ca54ea33bf745ff5559a913748a46 (patch) | |
tree | c02ce8fa5d6c1fa19a2d089b4465d195ee058133 /lib/kermit.exp | |
parent | d7b7156075df25716082174f6baf2ac0e163e939 (diff) | |
download | dejagnu-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.exp | 4 |
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." |