Update expect.sh

This commit is contained in:
Lup Yuen Lee 2024-01-24 23:28:59 +08:00 committed by GitHub
parent 5e9f45bf65
commit 1fae27c63b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,7 @@ send -s "uname -a\r"
expect "nsh> " expect "nsh> "
send -s "ostest\r" send -s "ostest\r"
set timeout 60
expect { expect {
"ostest_main: Exiting with status -1" { exit 0 } "ostest_main: Exiting with status -1" { exit 0 }
timeout { exit 1 } timeout { exit 1 }