Skip to content

Commit 23a9540

Browse files
committed
* lib/exec/hp-ilo.exp: Increased timeout to 5s for interact block.
Tweaked patterns to disable "ESC (" sequence.
1 parent ce403e2 commit 23a9540

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2008-08-30 Chris Dunlap <cdunlap@llnl.gov>
2+
3+
* lib/exec/hp-ilo.exp: Increased timeout to 5s for interact block.
4+
Tweaked patterns to disable "ESC (" sequence.
5+
16
2008-08-28 Chris Dunlap <cdunlap@llnl.gov>
27

38
* inevent.c (inevent_process): Changed type of inotify event buffer

lib/exec/hp-ilo.exp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ expect {
222222
}
223223
send_user "Connection established via telnet (pid $spawn_result).\r\n"
224224

225-
set timeout 2
225+
set timeout 5
226226
interact {
227227
# Replace "&B" with serial-break.
228228
"&B" {
@@ -231,8 +231,8 @@ interact {
231231
# Match subsequent patterns against spawned process, not user's keystrokes.
232232
-o
233233
# Disable "ESC (" sequence for stopping console and returning to CLI prompt.
234-
-re "\u001b\\(</>hpiLO-> \$" {
234+
-re "</>hpiLO-> \$" {
235235
send "vsp\r"
236-
expect -re "Virtual Serial Port active\[^\r]*\r+\n\r+\n"
236+
expect -re "Virtual Serial Port active\[^\r]*\r+\n(\r+\n)?"
237237
}
238238
}

0 commit comments

Comments
 (0)