diff --git a/expect.sh b/expect.sh index 8f618bb..19c760e 100644 --- a/expect.sh +++ b/expect.sh @@ -10,6 +10,7 @@ send -s "ostest\r" set timeout 120 expect { - "ostest_main: Exiting with status 0" { exit 0 } + "ostest_main: Exiting with status -1" { exit 0 } timeout { exit 1 } } +exit 2