2008-04-03 22:06:35 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
2014-04-03 05:46:13 -04:00
|
|
|
pre-quote
|
2008-04-03 22:06:35 -04:00
|
|
|
NOBODY
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data sendzero="yes">
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
sftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SFTP quote remove file with NOBODY
|
|
|
|
</name>
|
|
|
|
<command>
|
2009-07-28 13:55:00 -04:00
|
|
|
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file627.txt" sftp://%HOSTIP:%SSHPORT --insecure
|
2008-04-03 22:06:35 -04:00
|
|
|
</command>
|
|
|
|
<postcheck>
|
|
|
|
perl %SRCDIR/libtest/test610.pl gone %PWD/log/test627.txt
|
|
|
|
</postcheck>
|
|
|
|
<file name="log/file627.txt">
|
|
|
|
Dummy test file for remove test
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<valgrind>
|
|
|
|
disable
|
|
|
|
</valgrind>
|
|
|
|
<protocol>
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|