aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test583
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-03-13 00:18:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-03-13 00:18:04 +0100
commit0718b7e31ecb429ce3de7a98e725750b518f489a (patch)
tree672456b2a1b9218c482768e9c07fa079d29b3334 /tests/data/test583
parent60172a0446bbe3f8bf1c7b066a03b7febfc96ceb (diff)
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.
Diffstat (limited to 'tests/data/test583')
-rw-r--r--tests/data/test58343
1 files changed, 43 insertions, 0 deletions
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 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+multi
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+sftp
+</server>
+<tool>
+lib583
+</tool>
+ <name>
+SFTP with multi interface, remove handle early
+ </name>
+
+# 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.
+ <command>
+sftp://localhost:%SSHPORT%PWD/log/upload583.txt %USER:
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+</strip>
+<protocol>
+</protocol>
+</verify>
+</testcase>