From f66d97b677d114733f6b938d54ce7502d6aff214 Mon Sep 17 00:00:00 2001 From: "Alibek.Jorajev" Date: Wed, 30 May 2018 15:23:35 +0100 Subject: CURLOPT_RESOLVE: always purge old entry first If there's an existing entry using the selected name. Closes #2622 --- tests/unit/unit1607.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/unit/unit1607.c') 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; } -- cgit v1.2.3