diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-03-13 00:18:04 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-03-13 00:18:04 +0100 |
commit | 0718b7e31ecb429ce3de7a98e725750b518f489a (patch) | |
tree | 672456b2a1b9218c482768e9c07fa079d29b3334 /tests/data | |
parent | 60172a0446bbe3f8bf1c7b066a03b7febfc96ceb (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')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test583 | 43 |
2 files changed, 44 insertions, 1 deletions
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 @@ +<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> |