lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | SFTP |
| 5 | SFTP put |
| 6 | FAILURE |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Client-side |
| 12 | <client> |
| 13 | <server> |
| 14 | sftp |
| 15 | </server> |
| 16 | <precheck> |
| 17 | perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test615.dir |
| 18 | </precheck> |
| 19 | <name> |
| 20 | SFTP put remote failure |
| 21 | </name> |
| 22 | <command> |
| 23 | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file615.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test615.dir/rofile.txt --insecure |
| 24 | </command> |
| 25 | <postcheck> |
| 26 | perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test615.dir |
| 27 | </postcheck> |
| 28 | <file name="log/file615.txt"> |
| 29 | Test data |
| 30 | for ssh upload test |
| 31 | </file> |
| 32 | </client> |
| 33 | |
| 34 | # |
| 35 | # Verify data after the test has been "shot" |
| 36 | <verify> |
| 37 | <errorcode> |
| 38 | 9 |
| 39 | </errorcode> |
| 40 | <valgrind> |
| 41 | disable |
| 42 | </valgrind> |
| 43 | </verify> |
| 44 | </testcase> |