2011-11-18 14:30:46 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SFTP
|
|
|
|
post-quote
|
|
|
|
acceptfail
|
|
|
|
asterisk
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
Dummy test file for rename test
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
sftp
|
|
|
|
</server>
|
|
|
|
<precheck>
|
2021-03-12 11:38:26 -05:00
|
|
|
perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir
|
2011-11-18 14:30:46 -05:00
|
|
|
</precheck>
|
|
|
|
<name>
|
|
|
|
SFTP post-quote rename * asterisk accept-fail
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-*rename %PWD/log/test%TESTNUMBER-not-exists-dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
|
2011-11-18 14:30:46 -05:00
|
|
|
</command>
|
|
|
|
<postcheck>
|
2021-03-12 11:38:26 -05:00
|
|
|
perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.dir
|
2011-11-18 14:30:46 -05:00
|
|
|
</postcheck>
|
2021-03-12 11:38:26 -05:00
|
|
|
<file name="log/file%TESTNUMBER.txt">
|
2011-11-18 14:30:46 -05:00
|
|
|
Dummy test file for rename test
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<valgrind>
|
|
|
|
disable
|
|
|
|
</valgrind>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|