mirror of https://github.com/xemu-project/xemu.git
tests: mark io-command test as skipped if socat is missing
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>
This commit is contained in:
parent
d29201ff34
commit
525207cd77
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue