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:
committed by
Daniel Stenberg
parent
3f7b7dea1e
commit
0e74e1d8d8
46
tests/data/test582
Normal file
46
tests/data/test582
Normal 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>
|
||||
Reference in New Issue
Block a user