aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1322
diff options
context:
space:
mode:
authorTobias Hintze <th-git@thzn.de>2018-11-13 15:49:28 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-11-22 13:41:35 +0100
commit9944d6ba334f07b0b6199bdb5bb82091c88c16ed (patch)
tree7dfa4f88ee9f176a09d0a34d7a53ccd7e8863aa5 /tests/data/test1322
parent5b4cce2e36c01625ce193ea7e790c9b26b3cf0c8 (diff)
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.
Diffstat (limited to 'tests/data/test1322')
-rw-r--r--tests/data/test13222
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test1322 b/tests/data/test1322
index bf10a8d0b..974989517 100644
--- a/tests/data/test1322
+++ b/tests/data/test1322
@@ -37,7 +37,7 @@ http
HTTP with --resolve and hostname with trailing dot
</name>
<command>
---resolve example.com:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/1322
+--ipv4 --resolve example.com.:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/1322
</command>
</client>