diff options
Diffstat (limited to 'scripts/qemuimage-tests/sanity/shutdown')
| -rwxr-xr-x | scripts/qemuimage-tests/sanity/shutdown | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/qemuimage-tests/sanity/shutdown b/scripts/qemuimage-tests/sanity/shutdown index dde03c9a10..bc08cf0fdc 100755 --- a/scripts/qemuimage-tests/sanity/shutdown +++ b/scripts/qemuimage-tests/sanity/shutdown | |||
| @@ -13,11 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | . $POKYBASE/scripts/qemuimage-testlib | 14 | . $POKYBASE/scripts/qemuimage-testlib |
| 15 | 15 | ||
| 16 | if [ $SHARE_IMAGE -eq 0 ]; then | 16 | TIMEOUT=400 |
| 17 | TIMEOUT=200 | ||
| 18 | elif [ $SHARE_IMAGE -eq 1 ]; then | ||
| 19 | TIMEOUT=500 | ||
| 20 | fi | ||
| 21 | 17 | ||
| 22 | RET=1 | 18 | RET=1 |
| 23 | i=0 | 19 | i=0 |
| @@ -66,6 +62,11 @@ fi | |||
| 66 | if [ ${RET} -eq 0 ]; then | 62 | if [ ${RET} -eq 0 ]; then |
| 67 | Test_Info "Shutdown Test PASS" | 63 | Test_Info "Shutdown Test PASS" |
| 68 | Test_Print_Result "shutdown" 0 | 64 | Test_Print_Result "shutdown" 0 |
| 65 | |||
| 66 | # Remove TARGET_IPSAVE since no existing qemu running now | ||
| 67 | if [ -e ${TARGET_IPSAVE} ]; then | ||
| 68 | rm -rf ${TARGET_IPSAVE} | ||
| 69 | fi | ||
| 69 | exit 0 | 70 | exit 0 |
| 70 | else | 71 | else |
| 71 | Test_Info "Shutdown Test FAIL" | 72 | Test_Info "Shutdown Test FAIL" |
