summaryrefslogtreecommitdiffstats
path: root/tests/socket-helpers.h
diff options
context:
space:
mode:
authorPeter Maydell2019-08-23 11:58:28 +0200
committerPeter Maydell2019-08-23 11:58:28 +0200
commit61146e9cb40c3f13f94447fe311efe73b1f2494b (patch)
tree1ec372f08f526c1449ee8908592548d7e82f8f84 /tests/socket-helpers.h
parentMerge remote-tracking branch 'remotes/berrange/tags/autofree-pull-request' in... (diff)
parenttest: skip tests if socket_check_protocol_support() failed (diff)
downloadqemu-61146e9cb40c3f13f94447fe311efe73b1f2494b.tar.gz
qemu-61146e9cb40c3f13f94447fe311efe73b1f2494b.tar.xz
qemu-61146e9cb40c3f13f94447fe311efe73b1f2494b.zip
Merge remote-tracking branch 'remotes/elmarco/tags/podman-pull-request' into staging
tests/docker: add podman support # gpg: Signature made Thu 22 Aug 2019 14:46:51 BST # gpg: using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5 # gpg: issuer "marcandre.lureau@redhat.com" # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full] # gpg: aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full] # Primary key fingerprint: 87A9 BD93 3F87 C606 D276 F62D DAE8 E109 7596 9CE5 * remotes/elmarco/tags/podman-pull-request: test: skip tests if socket_check_protocol_support() failed test-char: skip tcp tests if ipv4 check failed tests: specify the address family when checking bind tests/docker: add podman support docker.py: add podman support docker.py: add --run-as-current-user Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/socket-helpers.h')
-rw-r--r--tests/socket-helpers.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/socket-helpers.h b/tests/socket-helpers.h
index 9de0e6b151..512a004811 100644
--- a/tests/socket-helpers.h
+++ b/tests/socket-helpers.h
@@ -21,17 +21,6 @@
#define TESTS_SOCKET_HELPERS_H
/*
- * @hostname: a DNS name or numeric IP address
- *
- * Check whether it is possible to bind & connect to ports
- * on the DNS name or IP address @hostname. If an IP address
- * is used, it must not be a wildcard address.
- *
- * Returns 0 on success, -1 on error with errno set
- */
-int socket_can_bind_connect(const char *hostname);
-
-/*
* @has_ipv4: set to true on return if IPv4 is available
* @has_ipv6: set to true on return if IPv6 is available
*