8fca7d23c6316d6b286f434f6053f0e7361d50b2
[platform/upstream/curl.git] / tests / data / test583
1 <testcase>
2 <info>
3 <keywords>
4 SFTP
5 multi
6 </keywords>
7 </info>
8
9 # Server-side
10 <reply>
11 <data>
12 </data>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 sftp
19 </server>
20 <tool>
21 lib583
22 </tool>
23  <name>
24 SFTP with multi interface, remove handle early
25  </name>
26
27 # The command here uses 'localhost' just to make sure that curl_multi_perform
28 # won't reach too far in the first invoke. When using c-ares at least, the
29 # name resolve will cause it to return rather quickly and thus we could trigger
30 # the problem we're looking to verify.
31  <command>
32 sftp://localhost:%SSHPORT%PWD/log/upload583.txt %USER:
33 </command>
34 </client>
35
36 # Verify data after the test has been "shot"
37 <verify>
38 <errorcode>
39 0
40 </errorcode>
41 </verify>
42 </testcase>