File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test614
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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%POSIX_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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>