Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to get some more information when update_oldconfig fails. Probably some
[fs/lustre-release.git]
/
build
/
update_oldconfig
diff --git
a/build/update_oldconfig
b/build/update_oldconfig
index
a9b240d
..
3332bf7
100755
(executable)
--- a/
build/update_oldconfig
+++ b/
build/update_oldconfig
@@
-1,6
+1,11
@@
-#!/usr/bin/expect
+#!/usr/bin/expect
-f
+# log all interaction to a file to diagnose failures
+log_file [index $argv 0]
+
+# and not stddout
log_user 0
log_user 0
+
set spawnid [spawn make oldconfig]
#match_max 200
set spawnid [spawn make oldconfig]
#match_max 200
@@
-10,7
+15,7
@@
set timeout 30
expect {
timeout {
expect {
timeout {
- puts "timeout"
+ puts "timeout
: $expect_out(buffer)
"
exit 1
}
-re "\n *(\[^\n]* \\\[N\/y\/\\?] \\(NEW\\)) " {
exit 1
}
-re "\n *(\[^\n]* \\\[N\/y\/\\?] \\(NEW\\)) " {