mirror of
https://github.com/curl/curl.git
synced 2026-08-26 13:03:32 +03:00
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:
parent
3f7b7dea1e
commit
0e74e1d8d8
5 changed files with 57 additions and 2 deletions
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue