tests: add test for bug #1303 (dns cache timeout)
authorRomulo A. Ceccon <romuloceccon@gmail.com>
Fri, 31 Jan 2014 19:03:13 +0000 (17:03 -0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Feb 2014 22:03:34 +0000 (23:03 +0100)
commit1505e4612b59507c2f77274300376c61526e670c
treed9c9894ed60d22a240f03840b5b1946b8b7b2d62
parentb93755df37669195c3a9c0717fc8336db504df04
tests: add test for bug #1303 (dns cache timeout)

Test-case 1515 reproduces bug #1303, where libcurl
would incorrectly prune DNS entries added via
CURLOPT_RESOLVE after the DNS_CACHE_TIMEOUT had
expired.
tests/data/Makefile.am
tests/data/test1515 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1515.c [new file with mode: 0644]