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.
This commit is contained in:
Henry Ludemann
2011-03-08 00:19:49 +01:00
committed by Daniel Stenberg
parent 3f7b7dea1e
commit 0e74e1d8d8
5 changed files with 57 additions and 2 deletions

46
tests/data/test582 Normal file
View File

@@ -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>