diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-09-01 15:04:14 +0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-09-19 15:12:28 +0200 |
commit | 525207cd77adb181b4ef61d0b7669f52f737e9d0 (patch) | |
tree | 437e6f9cd2b3d5b07721a0ea5a7f7ad3459a3558 /tests/unit/test-io-channel-command.c | |
parent | d29201ff34a135cdfc197f4413c1c5047e4f58bb (diff) |
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>
Diffstat (limited to 'tests/unit/test-io-channel-command.c')
-rw-r--r-- | tests/unit/test-io-channel-command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test-io-channel-command.c b/tests/unit/test-io-channel-command.c index 99056e07c0..aa09c559cd 100644 --- a/tests/unit/test-io-channel-command.c +++ b/tests/unit/test-io-channel-command.c @@ -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(); |