From 0718b7e31ecb429ce3de7a98e725750b518f489a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Mar 2011 00:18:04 +0100 Subject: test583: verify early SSH multi remove handle This test case is meant to verify that the logic in commit 60172a0446bbe3f8b actually works. This test failed for me before that change and it works after it. --- tests/data/Makefile.am | 2 +- tests/data/test583 | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 tests/data/test583 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 3a76a288d..c3c68cae3 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -70,7 +70,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \ test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \ test1303 test320 test321 test322 test323 test324 test1121 test581 test580 \ - test1304 test1305 test1306 test1307 test582 + test1304 test1305 test1306 test1307 test582 test583 filecheck: @mkdir test-place; \ diff --git a/tests/data/test583 b/tests/data/test583 new file mode 100644 index 000000000..2129ee729 --- /dev/null +++ b/tests/data/test583 @@ -0,0 +1,43 @@ + + + +SFTP +multi + + + +# Server-side + + + + + +# Client-side + + +sftp + + +lib583 + + +SFTP with multi interface, remove handle early + + +# The command here uses 'localhost' just to make sure that curl_multi_perform +# won't reach too far in the first invoke. When using c-ares at least, the +# name resolve will cause it to return rather quickly and thus we could trigger +# the problem we're looking to verify. + +sftp://localhost:%SSHPORT%PWD/log/upload583.txt %USER: + + + +# Verify data after the test has been "shot" + + + + + + + -- cgit v1.2.3