quickjs-tart

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

test115 (549B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 FAILURE
      7 </keywords>
      8 </info>
      9 # Server-side
     10 <reply>
     11 <servercmd>
     12 REPLY PASV 314 bluah you f00l!
     13 REPLY EPSV 314 bluah you f00l!
     14 </servercmd>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <name>
     23 FTP download, failed PASV
     24 </name>
     25 <command>
     26 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     27 </command>
     28 </client>
     29 
     30 # Verify data after the test has been "shot"
     31 <verify>
     32 <strip>
     33 QUIT
     34 </strip>
     35 <errorcode>
     36 13
     37 </errorcode>
     38 <protocol>
     39 USER anonymous
     40 PASS ftp@example.com
     41 PWD
     42 EPSV
     43 PASV
     44 QUIT
     45 </protocol>
     46 </verify>
     47 </testcase>