]> Git Repo - qemu.git/commit
sockets: pull code for testing IP availability out of specific test
authorDaniel P. Berrange <[email protected]>
Fri, 22 Dec 2017 11:45:24 +0000 (11:45 +0000)
committerDaniel P. Berrangé <[email protected]>
Tue, 13 Mar 2018 18:06:06 +0000 (18:06 +0000)
commit9b589ffb1237ec54f8341d8a80ba77f31d428842
treec289a96100c3b5956af171401ca6cd37f310fc94
parent473a2a331ee382703f7ca0067ba2545350cfa06c
sockets: pull code for testing IP availability out of specific test

The test-io-channel-socket.c file has some useful helper functions for
checking if a specific IP protocol is available. Other tests need to
perform similar kinds of checks to avoid running tests that will fail
due to missing IP protocols.

Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Signed-off-by: Daniel P. Berrange <[email protected]>
tests/Makefile.include
tests/socket-helpers.c [new file with mode: 0644]
tests/socket-helpers.h [new file with mode: 0644]
tests/test-io-channel-socket.c
This page took 0.026648 seconds and 4 git commands to generate.