quickjs-tart

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

test1569 (848B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 </keywords>
      8 </info>
      9 # Server-side
     10 <reply>
     11 <data nocheck="yes">
     12 data
     13     to
     14       see
     15 that FTP
     16 works
     17   so does it?
     18 </data>
     19 <servercmd>
     20 REPLY EPSV 500 no such command
     21 </servercmd>
     22 </reply>
     23 
     24 # Client-side
     25 <client>
     26 <server>
     27 ftp
     28 </server>
     29 <name>
     30 FTP first type=A then regular URL
     31 </name>
     32 <tool>
     33 lib%TESTNUMBER
     34 </tool>
     35 <command>
     36 "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=A" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     37 </command>
     38 
     39 </client>
     40 
     41 # Verify data after the test has been "shot"
     42 <verify>
     43 <strip>
     44 QUIT
     45 </strip>
     46 <protocol>
     47 USER anonymous
     48 PASS ftp@example.com
     49 PWD
     50 EPSV
     51 PASV
     52 TYPE A
     53 RETR %TESTNUMBER
     54 PASV
     55 TYPE I
     56 SIZE %TESTNUMBER
     57 RETR %TESTNUMBER
     58 QUIT
     59 </protocol>
     60 </verify>
     61 <stdout>
     62 data
     63     to
     64       see
     65 that FTP
     66 works
     67   so does it?
     68 data
     69     to
     70       see
     71 that FTP
     72 works
     73   so does it?
     74 </stdout>
     75 
     76 </testcase>