summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorAlibek.Jorajev <ajorajev@blackberry.com>2018-05-30 15:23:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-06-01 12:47:52 +0200
commitf66d97b677d114733f6b938d54ce7502d6aff214 (patch)
tree6727cfc6ce56762771a85a44f5061f968adc0784 /tests/data
parenta115c6bbe73175ad6157fce67338d4a18ed768b2 (diff)
downloadcurl-f66d97b677d114733f6b938d54ce7502d6aff214.tar.gz
CURLOPT_RESOLVE: always purge old entry first
If there's an existing entry using the selected name. Closes #2622
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test160926
2 files changed, 27 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 0b487ec68..c7dcaaa27 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -177,7 +177,7 @@ test1533 test1534 test1535 test1536 test1537 test1538 \
test1540 \
test1550 test1551 test1552 test1553 test1554 test1555 test1556 \
test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \
-test1608 \
+test1608 test1609 \
\
test1700 test1701 test1702 \
\
diff --git a/tests/data/test1609 b/tests/data/test1609
new file mode 100644
index 000000000..c1b7c7a11
--- /dev/null
+++ b/tests/data/test1609
@@ -0,0 +1,26 @@
+<testcase>
+<info>
+<keywords>
+unittest
+CURLOPT_RESOLVE
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+unittest
+</features>
+ <name>
+CURLOPT_RESOLVE parsing
+ </name>
+<tool>
+unit1609
+</tool>
+</client>
+
+</testcase>