2007-03-27 02:04:05 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2007-03-27 03:23:00 +08:00
|
|
|
<data>
|
2007-03-27 02:04:05 +08:00
|
|
|
Test data
|
|
|
|
for ssh test
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
sftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SFTP retrieval
|
|
|
|
</name>
|
|
|
|
<command>
|
2009-07-29 01:55:00 +08:00
|
|
|
--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/file600.txt --insecure
|
2007-03-27 02:04:05 +08:00
|
|
|
</command>
|
|
|
|
<file name="log/file600.txt">
|
|
|
|
Test data
|
|
|
|
for ssh test
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<valgrind>
|
|
|
|
disable
|
|
|
|
</valgrind>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|