2008-04-04 10:06:35 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
2014-04-03 17:46:13 +08:00
|
|
|
pre-quote
|
2008-04-04 10:06:35 +08: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-29 01:55:00 +08: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-04 10:06:35 +08: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>
|