]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-10-ISSUE-2467/test.sh
tests: don't fail if QEMU is not available
[thirdparty/systemd.git] / test / TEST-10-ISSUE-2467 / test.sh
index a652b0d812af5b79d5e97da85bc3d331309efb9a..4eca6784bce24f07ff35302165bc21c669b3131f 100755 (executable)
@@ -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
 }