3 # log all interaction to a file to diagnose failures
4 log_file [index $argv 0]
9 set spawnid [spawn make oldconfig]
13 # need to allow for the config tool to be built initially
18 puts "timeout: $expect_out(buffer)"
21 -re "\n *(\[^\n]* \\\[N\/y\/\\?] \\(NEW\\)) " {
22 puts "$expect_out(1,string) n"
26 -re "\n *(\[^\n]* \\\[N\/m\/y\/\\?] \\(NEW\\)) " {
27 puts "$expect_out(1,string) m"
31 -re "\n*(\[^\n]* \\\[N\/y\/m\/\\?] \\(NEW\\)) " {
32 puts "$expect_out(1,string) m"
36 -re "\n *(\[^\n]* \\\[N\/m\/\\?] \\(NEW\\)) " {
37 puts "$expect_out(1,string) m"