quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test612 (780B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 SFTP
      5 post-quote
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <data nocheck="yes">
     13 Dummy test file for remove test
     14 </data>
     15 </reply>
     16 
     17 #
     18 # Client-side
     19 <client>
     20 <server>
     21 sftp
     22 </server>
     23 <name>
     24 SFTP post-quote remove file
     25 </name>
     26 <command>
     27 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt -Q "-rm %SFTP_PWD/%LOGDIR/upload.%TESTNUMBER" sftp://%HOSTIP:%SSHPORT%SFTP_PWD/%LOGDIR/upload.%TESTNUMBER  --insecure
     28 </command>
     29 <file name="%LOGDIR/file%TESTNUMBER.txt">
     30 Dummy test file for remove test
     31 </file>
     32 </client>
     33 
     34 #
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <postcheck>
     38 %PERL %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/upload.%TESTNUMBER
     39 </postcheck>
     40 </verify>
     41 </testcase>