blob: ee2a185b13f8d98dba12c6533cb5d8d029c9acb1 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4SFTP
5post-quote
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data>
13Dummy test file for rename test
14</data>
15</reply>
16
17#
18# Client-side
19<client>
20<server>
21sftp
22</server>
23<precheck>
24perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test%TESTNUMBER.dir
25</precheck>
26 <name>
27SFTP post-quote rename
28 </name>
29 <command>
30--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/test%TESTNUMBER.dir %PWD/log/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
31</command>
32<postcheck>
33perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test%TESTNUMBER.new
34</postcheck>
35<file name="log/file%TESTNUMBER.txt">
36Dummy test file for rename test
37</file>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<valgrind>
44disable
45</valgrind>
46</verify>
47</testcase>