File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test608
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: post-quote
    6: </keywords>
    7: </info>
    8: 
    9: #
   10: # Server-side
   11: <reply>
   12: <data>
   13: Test file for rename test
   14: </data>
   15: </reply>
   16: 
   17: #
   18: # Client-side
   19: <client>
   20: <server>
   21: sftp
   22: </server>
   23:  <name>
   24: SFTP post-quote rename
   25:  </name>
   26:  <command>
   27: --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/file608.txt %PWD/log/file608-renamed.txt" sftp://%HOSTIP:%SSHPORT%POSIX_PWD/log/file608.txt --insecure
   28: </command>
   29: # Verify that the file was renamed properly, then rename the file back to what
   30: # it was so the verify section works and the file can be cleaned up.
   31: <postcheck>
   32: perl %SRCDIR/libtest/test610.pl gone %PWD/log/file608.txt move %PWD/log/file608-renamed.txt %PWD/log/file608.txt
   33: </postcheck>
   34: <file name="log/file608.txt">
   35: Test file for rename test
   36: </file>
   37: </client>
   38: 
   39: #
   40: # Verify data after the test has been "shot"
   41: <verify>
   42: <file name="log/file608.txt">
   43: Test file for rename test
   44: </file>
   45: <valgrind>
   46: disable
   47: </valgrind>
   48: </verify>
   49: </testcase>

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