• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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 .
15d?????????    N U         U               N ???  N NN:NN ..
16d?????????    N U         U               N ???  N NN:NN asubdir
17-r-?r-?r-?    1 U         U              37 Jan  1  2000 plainfile.txt
18-r-?r-?r-?    1 U         U              47 Dec 31  2000 rofile.txt
19</datacheck>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26sftp
27</server>
28<precheck>
29perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test614.dir
30</precheck>
31 <name>
32SFTP pre-quote chmod
33 </name>
34 <command>
35--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/log/test614.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%PWD/log/test614.dir/ --insecure
36</command>
37<postcheck>
38perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test614.dir %PWD/log/curl614.out
39</postcheck>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<valgrind>
46disable
47</valgrind>
48</verify>
49</testcase>
50