| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> | ||||
| 3 | <keywords> | ||||
| 4 | SCP | ||||
| 5 | SCP upload | ||||
| 6 | FAILURE | ||||
| 7 | </keywords> | ||||
| 8 | </info> | ||||
| 9 | |||||
| 10 | # | ||||
| 11 | # Server-side | ||||
| 12 | <reply> | ||||
| 13 | </reply> | ||||
| 14 | |||||
| 15 | # | ||||
| 16 | # Client-side | ||||
| 17 | <client> | ||||
| 18 | <server> | ||||
| 19 | scp | ||||
| 20 | </server> | ||||
| 21 | <name> | ||||
| 22 | SCP upload failure | ||||
| 23 | </name> | ||||
| 24 | <command> | ||||
| 25 | --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure | ||||
| 26 | </command> | ||||
| 27 | <file name="log/file%TESTNUMBER.txt"> | ||||
| 28 | Test data | ||||
| 29 | for ssh upload test | ||||
| 30 | </file> | ||||
| 31 | </client> | ||||
| 32 | |||||
| 33 | # | ||||
| 34 | # Verify data after the test has been "shot" | ||||
| 35 | <verify> | ||||
| 36 | <valgrind> | ||||
| 37 | disable | ||||
| 38 | </valgrind> | ||||
| 39 | <errorcode> | ||||
| 40 | 25 | ||||
| 41 | </errorcode> | ||||
| 42 | |||||
| 43 | </verify> | ||||
| 44 | </testcase> | ||||