aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test582
diff options
context:
space:
mode:
authorHenry Ludemann <henry@hl.id.au>2011-03-08 00:19:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-03-08 00:20:48 +0100
commit0e74e1d8d83d50ba1d411903ae2dbba13a71bdeb (patch)
tree1c6f02ebcae4033816a9002c776e3569907a6645 /tests/data/test582
parent3f7b7dea1ea67dcad241dbf78ca54dfd9d19c283 (diff)
sftp-multi: test 582 added
Add test 582 for uploading a file using sftp and the multi interface. (Patch and test slightly tweaked by Daniel Stenberg) Initially marked as disabled until it is fixed in the source.
Diffstat (limited to 'tests/data/test582')
-rw-r--r--tests/data/test58246
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/data/test582 b/tests/data/test582
new file mode 100644
index 000000000..8881a87d7
--- /dev/null
+++ b/tests/data/test582
@@ -0,0 +1,46 @@
+<testcase>
+<info>
+<keywords>
+SFTP
+multi
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+sftp
+</server>
+<tool>
+lib582
+</tool>
+ <name>
+SFTP upload using multi interface
+ </name>
+ <command>
+Sftp://%HOSTIP:%SSHPORT%PWD/log/upload582.txt %PWD/log/file582.txt %USER:
+</command>
+<file name="log/file582.txt">
+Moooooooooooo
+ upload this
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+</strip>
+<protocol>
+</protocol>
+<file name="log/file582.txt">
+Moooooooooooo
+ upload this
+</file>
+</verify>
+</testcase>