[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/15] tests: mark io-command test as skipped if socat is missing
From: |
Thomas Huth |
Subject: |
[PULL 01/15] tests: mark io-command test as skipped if socat is missing |
Date: |
Tue, 20 Sep 2022 17:34:58 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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();
--
2.31.1
- [PULL 00/15] Testing, qga and misc patches, Thomas Huth, 2022/09/20
- [PULL 01/15] tests: mark io-command test as skipped if socat is missing,
Thomas Huth <=
- [PULL 02/15] tests/vm: update NetBSD to 9.3, Thomas Huth, 2022/09/20
- [PULL 05/15] qtest/fuzz-lsi53c895a-test: set guest RAM to 2G, Thomas Huth, 2022/09/20
- [PULL 03/15] .gitlab-ci.d/windows.yml: Drop the sed processing in the 64-bit build, Thomas Huth, 2022/09/20
- [PULL 06/15] tests: Fix error strings, Thomas Huth, 2022/09/20
- [PULL 04/15] tests/qtest: npcm7xx-emc-test: Skip checking MAC, Thomas Huth, 2022/09/20
- [PULL 07/15] meson-build: Enable CONFIG_REPLICATION only when replication is set, Thomas Huth, 2022/09/20
- [PULL 10/15] bios-tables-test: Only run test for machine types compiled in, Thomas Huth, 2022/09/20
- [PULL 15/15] qga: Replace 'blacklist' and 'whitelist' in the guest agent sources, Thomas Huth, 2022/09/20
- [PULL 12/15] tests: sb16 has both pc and q35 tests, Thomas Huth, 2022/09/20
- [PULL 14/15] qga: Replace 'blacklist' command line and config file options by 'block-rpcs', Thomas Huth, 2022/09/20