quickjs-tart

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

test541 (711B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 STOR
      6 </keywords>
      7 </info>
      8 
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 # Client-side
     14 <client>
     15 <server>
     16 ftp
     17 </server>
     18 # tool is what to use instead of 'curl'
     19 <tool>
     20 lib%TESTNUMBER
     21 </tool>
     22 
     23 <name>
     24 FTP upload and upload same file again without rewind
     25 </name>
     26 <command>
     27 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/upload%TESTNUMBER
     28 </command>
     29 <file name="%LOGDIR/upload%TESTNUMBER">
     30 Contents
     31 of
     32 a file
     33 to verify
     34 ftp
     35 upload
     36 
     37 
     38 works?
     39 </file>
     40 </client>
     41 
     42 # Verify data after the test has been "shot"
     43 <verify>
     44 <strip>
     45 QUIT
     46 </strip>
     47 <upload>
     48 </upload>
     49 <protocol>
     50 USER anonymous
     51 PASS ftp@example.com
     52 PWD
     53 EPSV
     54 TYPE I
     55 STOR %TESTNUMBER
     56 EPSV
     57 STOR %TESTNUMBER
     58 QUIT
     59 </protocol>
     60 </verify>
     61 </testcase>