aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test616
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test616')
-rw-r--r--tests/data/test61639
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test616 b/tests/data/test616
new file mode 100644
index 000000000..28e34026f
--- /dev/null
+++ b/tests/data/test616
@@ -0,0 +1,39 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+zero-length
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data sendzero="yes">
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP retrieval of empty file
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/file616.txt
+</command>
+<file name="log/file616.txt">
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>