Added tests 610-612 to test more SFTP post-quote commands.

This commit is contained in:
Dan Fandrich
2007-04-23 23:00:38 +00:00
parent 28dde78dde
commit 6a35841b2e
6 changed files with 171 additions and 1 deletions

47
tests/data/test612 Normal file
View File

@@ -0,0 +1,47 @@
<testcase>
<info>
<keywords>
SFTP
post-quote
</keywords>
</info>
#
# Server-side
<reply>
<data nocheck="1">
Dummy test file for remove test
</data>
</reply>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP post-quote remove file
</name>
<command>
--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
</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>