Added test600 and test601, SFTP and SCP file retrieval tests.

This commit is contained in:
Dan Fandrich
2007-03-26 18:04:05 +00:00
parent 424063235b
commit 844f5b6b45
3 changed files with 95 additions and 2 deletions

44
tests/data/test600 Normal file
View File

@@ -0,0 +1,44 @@
<testcase>
<info>
<keywords>
SFTP
</keywords>
</info>
#
# Server-side
<reply>
<data mode="text">
Test data
for ssh test
</data>
</reply>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP retrieval
</name>
<command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT/%PWD/log/file600.txt
</command>
<file name="log/file600.txt">
Test data
for ssh test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
</protocol>
<valgrind>
disable
</valgrind>
</verify>
</testcase>

44
tests/data/test601 Normal file
View File

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