xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | lib%TESTNUMBER |
| 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%SSH_PWD/log/upload%TESTNUMBER.txt %USER: |
| 33 | </command> |
| 34 | </client> |
| 35 | |
| 36 | # Verify data after the test has been "shot" |
| 37 | <verify> |
| 38 | <valgrind> |
| 39 | disable |
| 40 | </valgrind> |
| 41 | <errorcode> |
| 42 | 0 |
| 43 | </errorcode> |
| 44 | </verify> |
| 45 | </testcase> |