summaryrefslogtreecommitdiff
path: root/tests/data/test635
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-10-09 05:16:06 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-10-09 05:16:06 +0000
commitf6d80d66a230e40c42cd4e7a1867bcc482f5def8 (patch)
treeee1c3d55a35863fd13f6d226b3bca7a96f84277a /tests/data/test635
parentb2ca0babebaa3144e8d9ca12bdfec0358fb9159c (diff)
downloadcurl-f6d80d66a230e40c42cd4e7a1867bcc482f5def8.tar.gz
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.
Diffstat (limited to 'tests/data/test635')
-rw-r--r--tests/data/test63542
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test635 b/tests/data/test635
new file mode 100644
index 000000000..7ef3a5d6c
--- /dev/null
+++ b/tests/data/test635
@@ -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>