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>
|
2021-03-12 11:38:26 -05:00
|
|
|
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT --insecure
|
2008-04-03 22:06:35 -04:00
|
|
|
</command>
|
|
|
|
<postcheck>
|
2021-03-12 11:38:26 -05:00
|
|
|
perl %SRCDIR/libtest/test610.pl gone %PWD/log/test%TESTNUMBER.txt
|
2008-04-03 22:06:35 -04:00
|
|
|
</postcheck>
|
2021-03-12 11:38:26 -05:00
|
|
|
<file name="log/file%TESTNUMBER.txt">
|
2008-04-03 22:06:35 -04:00
|
|
|
Dummy test file for remove test
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<valgrind>
|
|
|
|
disable
|
|
|
|
</valgrind>
|
|
|
|
<protocol>
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|