diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-23 10:23:29 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-24 11:28:35 +0200 |
commit | eaa03c05f72b20610fc7c3b0e943d032fa78f0d1 (patch) | |
tree | fdb9fb018d9adcc98796405e40aefdd10f775cbc /test/TEST-10-ISSUE-2467/test.sh | |
parent | a415d43655b7b82c475506519dfdad6f9291ac41 (diff) |
tests: don't fail if QEMU is not available
Fix TEST-{08,09,10,11} to properly skip the test if QEMU is not available
instead of failing, like in the other tests.
Diffstat (limited to 'test/TEST-10-ISSUE-2467/test.sh')
-rwxr-xr-x | test/TEST-10-ISSUE-2467/test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/TEST-10-ISSUE-2467/test.sh b/test/TEST-10-ISSUE-2467/test.sh index a652b0d812..4eca6784bc 100755 --- a/test/TEST-10-ISSUE-2467/test.sh +++ b/test/TEST-10-ISSUE-2467/test.sh @@ -21,8 +21,11 @@ check_result_qemu() { } test_run() { - run_qemu || return 1 - check_result_qemu || return 1 + if run_qemu; then + check_result_qemu || return 1 + else + dwarn "can't run QEMU, skipping" + fi return 0 } |