]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests: mark io-command test as skipped if socat is missing
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 1 Sep 2022 11:04:14 +0000 (15:04 +0400)
committerThomas Huth <thuth@redhat.com>
Mon, 19 Sep 2022 13:12:28 +0000 (15:12 +0200)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220901110414.2892954-1-marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/unit/test-io-channel-command.c

index 99056e07c0231253b56ab109db9e48c02b58c4c9..aa09c559cd4836c73478b5a0e1af001412a42585 100644 (file)
@@ -41,7 +41,8 @@ static void test_io_channel_command_fifo(bool async)
 
     unlink(TEST_FIFO);
     if (access("/bin/socat", X_OK) < 0) {
-        return; /* Pretend success if socat is not present */
+        g_test_skip("socat is missing");
+        return;
     }
     if (mkfifo(TEST_FIFO, 0600) < 0) {
         abort();