summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorJavier Blazquez <jblazquez@riotgames.com>2018-06-22 20:11:26 -0700
committerDaniel Stenberg <daniel@haxx.se>2018-06-23 22:31:52 +0200
commit4c901638b4d7bab5e5a847f6970425d9c1f2ea2d (patch)
tree3f8374daaa298195a6e15ea0ce373ece0feac3d1 /tests/data
parent146178a9df83de1cfc345771b4c6eceb21ea700e (diff)
downloadcurl-4c901638b4d7bab5e5a847f6970425d9c1f2ea2d.tar.gz
multi: fix crash due to dangling entry in connect-pending list
Fixes #2677 Closes #2679
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test155736
2 files changed, 37 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 9d0781f0e..d9b1bcbee 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -175,7 +175,7 @@ test1520 test1521 \
test1525 test1526 test1527 test1528 test1529 test1530 test1531 test1532 \
test1533 test1534 test1535 test1536 test1537 test1538 \
test1540 \
-test1550 test1551 test1552 test1553 test1554 test1555 test1556 \
+test1550 test1551 test1552 test1553 test1554 test1555 test1556 test1557 \
\
test1590 \
test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \
diff --git a/tests/data/test1557 b/tests/data/test1557
new file mode 100644
index 000000000..16e2a2c47
--- /dev/null
+++ b/tests/data/test1557
@@ -0,0 +1,36 @@
+<testcase>
+<info>
+<keywords>
+multi
+crash
+</keywords>
+</info>
+
+<reply>
+</reply>
+
+<client>
+<server>
+none
+</server>
+<tool>
+lib1557
+</tool>
+
+<name>
+Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry
+</name>
+<command>
+nothing
+</command>
+</client>
+
+#
+# Verify that the test runs to completion without crashing
+<verify>
+<errorcode>
+0
+</errorcode>
+</verify>
+
+</testcase>