Whamcloud - gitweb
LU-831 header: struct bit field should be unsigned type
[fs/lustre-release.git] / build / update_oldconfig
index 5dd030f..6d4d870 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/expect -f
 
+#enables some diagnostic output
+exp_internal 1
+
 # log all interaction to a file to diagnose failures
 log_file -a [lindex $argv 0]
 
@@ -58,4 +61,14 @@ expect {
         send "m\r"
         exp_continue
     }
+    -re "\n *(\[^\n]* \\\[Y\/n\/m\/\\?] \\(NEW\\)) " {
+        puts "$expect_out(1,string) m"
+        send "m\r"
+        exp_continue
+    }
+    -re "\n *(\[^\n]* \\\[Y\/\\?] \\(NEW\\)) " {
+        puts "$expect_out(1,string) y"
+        send "y\r"
+        exp_continue
+    }
 }