Update expect.sh

This commit is contained in:
Lup Yuen Lee 2024-01-24 23:20:49 +08:00 committed by GitHub
parent 24fd60f09d
commit ad60696456
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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