48 lines
860 B
Plaintext
48 lines
860 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
post-quote
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data nocheck="yes">
|
|
Dummy test file for remove test
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<name>
|
|
SFTP post-quote remove file
|
|
</name>
|
|
<command>
|
|
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt -Q "-rm %PWD/%LOGDIR/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/upload.%TESTNUMBER --insecure
|
|
</command>
|
|
<postcheck>
|
|
perl %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/test%TESTNUMBER.txt
|
|
</postcheck>
|
|
<file name="%LOGDIR/file%TESTNUMBER.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>
|