xref: /curl/tests/data/test583 (revision c91c37b6)
1<testcase>
2<info>
3<keywords>
4SFTP
5multi
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data>
12</data>
13</reply>
14
15# Client-side
16<client>
17<server>
18sftp
19</server>
20<tool>
21lib%TESTNUMBER
22</tool>
23<name>
24SFTP 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>
32sftp://localhost:%SSHPORT%SSH_PWD/%LOGDIR/upload%TESTNUMBER.txt %USER: %LOGDIR/server/curl_client_key.pub %LOGDIR/server/curl_client_key
33</command>
34</client>
35
36# Verify data after the test has been "shot"
37<verify>
38<errorcode>
390
40</errorcode>
41</verify>
42</testcase>
43