43 lines
596 B
Plaintext
43 lines
596 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
SFTP
|
||
|
Range
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data>
|
||
|
data
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
sftp
|
||
|
</server>
|
||
|
<name>
|
||
|
SFTP retrieval with byte range
|
||
|
</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 5-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>
|