From 9944d6ba334f07b0b6199bdb5bb82091c88c16ed Mon Sep 17 00:00:00 2001 From: Tobias Hintze Date: Tue, 13 Nov 2018 15:49:28 +0100 Subject: test: update test20/1322 for eglibc bug workaround The tests 20 and 1322 are using getaddrinfo of libc for resolving. In eglibc-2.19 there is a memory leakage and invalid free bug which surfaces in some special circumstances (PF_UNSPEC hint with invalid or non-existent names). The valgrind runs in testing fail in these situations. As the tests 20/1322 are not specific on either protocol (IPv4/IPv6) this commit changes the hints to IPv4 protocol by passing `--ipv4` flag on the tests' command line. This prevents the valgrind failures. --- tests/data/test20 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test20') diff --git a/tests/data/test20 b/tests/data/test20 index 57fa48dea..910cb54c2 100644 --- a/tests/data/test20 +++ b/tests/data/test20 @@ -25,7 +25,7 @@ http attempt connect to non-existing host name -non-existing-host.haxx.se. +--ipv4 non-existing-host.haxx.se. -- cgit v1.2.3