Added SFTP and SCP upload tests in test602 & test603

This commit is contained in:
Dan Fandrich
2007-03-26 19:23:00 +00:00
parent 844f5b6b45
commit 2166645ce4
5 changed files with 90 additions and 3 deletions

43
tests/data/test603 Normal file
View File

@@ -0,0 +1,43 @@
<testcase>
<info>
<keywords>
SCP
SCP upload
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
scp
</server>
<name>
SCP upload
</name>
<command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file603.txt scp://%HOSTIP:%SSHPORT/%PWD/log/upload.603
</command>
<file name="log/file603.txt">
Test data
for ssh upload test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<upload>
Test data
for ssh upload test
</upload>
<valgrind>
disable
</valgrind>
</verify>
</testcase>