summaryrefslogtreecommitdiff
path: root/tests/data/test620
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-03-10 19:40:27 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-03-10 19:40:27 +0000
commit458925ae0b680913e470ce0e0c8c48bbd86b26fd (patch)
tree8bcd934ff1014d0d2d27154f917732411cdfd9d7 /tests/data/test620
parente44dc9219741213665d65d0a0e683a14a8eb576e (diff)
downloadcurl-458925ae0b680913e470ce0e0c8c48bbd86b26fd.tar.gz
Added tests 618-621 to test SFTP/SCP transfers of more than one file
(test 620 tests the just-fixed problem reported by Brian Ulm).
Diffstat (limited to 'tests/data/test620')
-rw-r--r--tests/data/test62038
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/data/test620 b/tests/data/test620
new file mode 100644
index 000000000..f7a87d266
--- /dev/null
+++ b/tests/data/test620
@@ -0,0 +1,38 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+FAILURE
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+sftp
+</server>
+ <name>
+SFTP retrieval of missing file followed by good file
+ </name>
+ <command>
+--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%PWD/log/file620.txt
+</command>
+<file name="log/file620.txt">
+Test data
+for ssh test
+</file>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<valgrind>
+disable
+</valgrind>
+<stdout>
+Test data
+for ssh test
+</stdout>
+</verify>
+</testcase>