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:
Dan Fandrich
2008-10-09 05:16:06 +00:00
parent b2ca0babeb
commit f6d80d66a2
8 changed files with 224 additions and 2 deletions

44
tests/data/test637 Normal file
View File

@@ -0,0 +1,44 @@
<testcase>
<info>
<keywords>
SFTP
Range
</keywords>
</info>
#
# Server-side
<reply>
<data>
</data>
</reply>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP retrieval with invalid X- range
</name>
<command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/file637.txt -r 99-
</command>
<file name="log/file637.txt">
Test data
for ssh test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
36
</errorcode>
<valgrind>
disable
</valgrind>
</verify>
</testcase>