]> git.ipfire.org Git - thirdparty/qemu.git/commit
test: skip tests if socket_check_protocol_support() failed
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 9 Jul 2019 19:24:46 +0000 (23:24 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 22 Aug 2019 13:30:25 +0000 (17:30 +0400)
commita4eb74a66a0f34d53127e240c1eeae42073bc558
treee77228445b0fcf78610a1e1c0b0432e6c00feb57
parente7b6ba4186f243f149b0d8cddc129fe681ba3912
test: skip tests if socket_check_protocol_support() failed

Skip the tests if socket_check_protocol_support() failed, but do run
g_test_run() to keep TAP harness happy.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/test-char.c
tests/test-io-channel-socket.c
tests/test-util-sockets.c