43 lines
620 B
Plaintext
43 lines
620 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
SFTP
|
||
|
Range
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data>
|
||
|
ssh test
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
sftp
|
||
|
</server>
|
||
|
<name>
|
||
|
SFTP retrieval with byte range relative to end of file
|
||
|
</name>
|
||
|
<command>
|
||
|
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt -r -9 --insecure
|
||
|
</command>
|
||
|
<file name="%LOGDIR/file%TESTNUMBER.txt">
|
||
|
Test data
|
||
|
for ssh test
|
||
|
</file>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<valgrind>
|
||
|
disable
|
||
|
</valgrind>
|
||
|
</verify>
|
||
|
</testcase>
|