diff options
author | Alibek.Jorajev <ajorajev@blackberry.com> | 2018-05-30 15:23:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-06-01 12:47:52 +0200 |
commit | f66d97b677d114733f6b938d54ce7502d6aff214 (patch) | |
tree | 6727cfc6ce56762771a85a44f5061f968adc0784 /tests/unit/unit1607.c | |
parent | a115c6bbe73175ad6157fce67338d4a18ed768b2 (diff) | |
download | gnurl-f66d97b677d114733f6b938d54ce7502d6aff214.tar.gz gnurl-f66d97b677d114733f6b938d54ce7502d6aff214.tar.bz2 gnurl-f66d97b677d114733f6b938d54ce7502d6aff214.zip |
CURLOPT_RESOLVE: always purge old entry first
If there's an existing entry using the selected name.
Closes #2622
Diffstat (limited to 'tests/unit/unit1607.c')
-rw-r--r-- | tests/unit/unit1607.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/unit/unit1607.c b/tests/unit/unit1607.c index 697b8b5c4..64b6371ee 100644 --- a/tests/unit/unit1607.c +++ b/tests/unit/unit1607.c @@ -199,6 +199,14 @@ UNITTEST_START break; } + if(dns->timestamp != 0) { + fprintf(stderr, "%s:%d tests[%d] failed. the timestamp is not zero. " + "for tests[%d].address[%d\n", + __FILE__, __LINE__, i, i, j); + problem = true; + break; + } + addr = addr->ai_next; } |