Whamcloud - gitweb
add a branch and its table named "b_iam" for "Index API Module" from #colibri
[fs/lustre-release.git] / build / update_oldconfig
1 #!/usr/bin/expect
2
3 log_user 0
4 set spawnid [spawn make oldconfig]
5
6 #match_max 200
7
8 # need to allow for the config tool to be built initially
9 set timeout 30
10
11 expect {
12     timeout {
13         puts "timeout"
14         exit 1
15     }
16     -re "\n  *(\[^\n]* \\\[N\/y\/\\?] \\(NEW\\)) " {
17          puts "$expect_out(1,string) n"
18          send "n\r"
19          exp_continue
20     }
21     -re "\n  *(\[^\n]* \\\[N\/m\/y\/\\?] \\(NEW\\)) " {
22         puts "$expect_out(1,string) m"
23         send "m\r"
24         exp_continue
25     }
26     -re "\n*(\[^\n]* \\\[N\/y\/m\/\\?] \\(NEW\\)) " {
27         puts "$expect_out(1,string) m"
28         send "m\r"
29         exp_continue
30     }
31     -re "\n  *(\[^\n]* \\\[N\/m\/\\?] \\(NEW\\)) " {
32         puts "$expect_out(1,string) m"
33         send "m\r"
34         exp_continue
35     }
36 }