Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 SFTP
      5 pre-quote
      6 directory
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <datacheck>
     14 d?????????    N U         U               N ???  N NN:NN .
     15 d?????????    N U         U               N ???  N NN:NN ..
     16 d?????????    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>
     26 sftp
     27 </server>
     28 <precheck>
     29 perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test614.dir
     30 </precheck>
     31  <name>
     32 SFTP 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>
     38 perl %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>
     46 disable
     47 </valgrind>
     48 </verify>
     49 </testcase>
     50