blob: c0af2630a64cbbbc70287760e0628d89e3f94a76 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4SFTP
5pre-quote
6directory
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<datacheck>
14d????????? N U U N ??? N NN:NN asubdir
15-r-?r-?r-? 1 U U 37 Jan 1 2000 plainfile.txt
16-r-?r-?r-? 1 U U 47 Dec 31 2000 rofile.txt
17</datacheck>
18</reply>
19
20#
21# Client-side
22<client>
23<server>
24sftp
25</server>
26<precheck>
27perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
28</precheck>
29 <name>
30SFTP pre-quote chmod
31 </name>
32 <command>
33--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/log/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/ --insecure
34</command>
35<postcheck>
36perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir %PWD/log/curl%TESTNUMBER.out
37</postcheck>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<valgrind>
44disable
45</valgrind>
46</verify>
47</testcase>