xref: /curl/tests/data/test638 (revision ca9106c1)
1<testcase>
2<info>
3<keywords>
4SFTP
5post-quote
6acceptfail
7asterisk
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15Dummy test file for rename test
16</data>
17</reply>
18
19#
20# Client-side
21<client>
22<server>
23sftp
24</server>
25<precheck>
26%PERL %SRCDIR/libtest/test610.pl mkdir %PWD/%LOGDIR/test%TESTNUMBER.dir
27</precheck>
28<name>
29SFTP post-quote rename * asterisk accept-fail
30</name>
31<command>
32--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "-*rename %SSH_PWD/%LOGDIR/test%TESTNUMBER.dir %SSH_PWD/%LOGDIR/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
33</command>
34<file name="%LOGDIR/file%TESTNUMBER.txt">
35Dummy test file for rename test
36</file>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<postcheck>
43%PERL %SRCDIR/libtest/test610.pl rmdir %PWD/%LOGDIR/test%TESTNUMBER.new
44</postcheck>
45</verify>
46</testcase>
47