run: fix Qemu boot timeout

Fixes #1758
This commit is contained in:
Christian Prochaska 2015-11-03 14:47:42 +01:00 committed by Christian Helmuth
parent 115a605658
commit b26ac3c4fb
1 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,11 @@ proc run_log { wait_for_re timeout_value } {
set kernel_msg [run_boot_string]
set timeout $timeout_value
if {$wait_for_re == "forever"} {
set timeout -1
} else {
set timeout $timeout_value
}
expect {
-i $output_spawn_id $kernel_msg { }