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