mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:33:33 +03:00
Added tests 633 through 637 to test the new file range support for SFTP.
All but the first test cause an infinite loop or other failure and so are added to DISABLED.
This commit is contained in:
parent
b2ca0babeb
commit
f6d80d66a2
8 changed files with 224 additions and 2 deletions
42
tests/data/test635
Normal file
42
tests/data/test635
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<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 curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/file635.txt -r -9
|
||||
</command>
|
||||
<file name="log/file635.txt">
|
||||
Test data
|
||||
for ssh test
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<valgrind>
|
||||
disable
|
||||
</valgrind>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue