diff --git a/automation/scripts/qemu-key.exp b/automation/scripts/qemu-key.exp index 35eb903a31..787f1f08cb 100755 --- a/automation/scripts/qemu-key.exp +++ b/automation/scripts/qemu-key.exp @@ -1,6 +1,10 @@ #!/usr/bin/expect -f -set timeout $env(QEMU_TIMEOUT) +if {[info exists env(QEMU_TIMEOUT)]} { + set timeout $env(QEMU_TIMEOUT) +} else { + set timeout 1500 +} log_file -a $env(QEMU_LOG)