2007-04-24 07:00:38 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
|
|
|
post-quote
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2009-01-08 05:57:26 +08:00
|
|
|
<data nocheck="yes">
|
2007-04-24 07:00:38 +08:00
|
|
|
Dummy test file for remove test
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
sftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SFTP post-quote remove file
|
|
|
|
</name>
|
|
|
|
<command>
|
2009-07-29 01:55:00 +08:00
|
|
|
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file612.txt -Q "-rm %PWD/log/file612.txt" sftp://%HOSTIP:%SSHPORT%PWD/log/upload.612 --insecure
|
2007-04-24 07:00:38 +08:00
|
|
|
</command>
|
|
|
|
<postcheck>
|
|
|
|
perl %SRCDIR/libtest/test610.pl gone %PWD/log/test612.txt
|
|
|
|
</postcheck>
|
|
|
|
<file name="log/file612.txt">
|
|
|
|
Dummy test file for remove test
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<upload>
|
|
|
|
Dummy test file for remove test
|
|
|
|
</upload>
|
|
|
|
<valgrind>
|
|
|
|
disable
|
|
|
|
</valgrind>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|