aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-09-13 23:01:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-09-14 07:49:43 +0200
commit8dcc074f365ada380a999746b49729a02db756b8 (patch)
treec0bde4b67f608306569f287abda1287208e37508 /tests/data
parent01cf1308ee2e792c77bb1d2c9218c56a30fd40ae (diff)
test1605: verify negative input lengths to (un)escape functions
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test160525
2 files changed, 26 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 6673bb75b..68f418a22 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -158,7 +158,7 @@ test1520 \
\
test1525 test1526 test1527 test1528 test1529 test1530 test1531 \
\
-test1600 test1601 test1602 test1603 test1604 \
+test1600 test1601 test1602 test1603 test1604 test1605 \
\
test1700 test1701 test1702 \
\
diff --git a/tests/data/test1605 b/tests/data/test1605
new file mode 100644
index 000000000..09ef66942
--- /dev/null
+++ b/tests/data/test1605
@@ -0,0 +1,25 @@
+<testcase>
+<info>
+<keywords>
+unittest
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+unittest
+</features>
+ <name>
+Test negative data lengths as input to libcurl functions
+ </name>
+<tool>
+unit1605
+</tool>
+</client>
+
+</testcase>