diff options
| author | Thomas Huth | 2020-09-08 13:48:13 +0200 |
|---|---|---|
| committer | Thomas Huth | 2020-09-16 08:41:06 +0200 |
| commit | b822c05b812a39940f78e4d020852d134d49dc99 (patch) | |
| tree | 881680e93b2379d6b8da53fbb57ef2e13529f972 /include | |
| parent | tests/qtest/qmp-cmd-test: Use inclusive language (diff) | |
| download | qemu-b822c05b812a39940f78e4d020852d134d49dc99.tar.gz qemu-b822c05b812a39940f78e4d020852d134d49dc99.tar.xz qemu-b822c05b812a39940f78e4d020852d134d49dc99.zip | |
tests/socket-helpers: Treat EAI_NONAME as EADDRNOTAVAIL
The tests/test-char test is currently always failing on my system since
the getaddrinfo() in socket_can_bind_connect() returns EAI_NONAME when
it is called from socket_check_protocol_support() to check for IPv6.
socket_check_protocol_support() then returns -1 and thus the tests are
not run at all - even though IPv4 is working fine.
socket_can_bind_connect() connect should return EADDRNOTAVAIL in this
case instead, so that socket_check_protocol_support() does not fail.
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200908121543.222872-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
