+1999-09-21 Ken Raeburn <raeburn@mit.edu>
+
+ * api.2/init-v2.exp (test109): Wait for prompt between commands.
+
1999-09-01 Ken Raeburn <raeburn@mit.edu>
* api.2/init-v2.exp (RESOLVE): New variable.
return;
}
send "puts \$p\n"
+ expect {
+ -re "$prompt" { }
+ timeout {
+ error_and_restart "$test: timeout getting prompt"
+ return
+ }
+ eof {
+ error_and_restart "$test: eof getting prompt"
+ return
+ }
+ }
send "lindex \$p 4\n"
expect {
-re "(\[0-9\]+)\n$prompt" {set max_life $expect_out(1,string) }