Update expect.sh

This commit is contained in:
Lup Yuen Lee 2024-01-24 23:25:47 +08:00 committed by GitHub
parent 1d56a09ba4
commit c69aacb8bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,6 @@ expect "nsh> "
send -s "ostest\r" send -s "ostest\r"
expect { expect {
"ostest_main: Exiting with status 0" { exit 0 } "ostest_main: Exiting with status -1" { exit 0 }
timeout { exit 1 } timeout { exit 1 }
} }