quickjs-tart

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

test1206 (708B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PORT
      6 RETR
      7 NODATACONN425
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data nocheck="yes">
     13 some bytes
     14 </data>
     15 <servercmd>
     16 NODATACONN425
     17 </servercmd>
     18 </reply>
     19 
     20 # Client-side
     21 <client>
     22 <server>
     23 ftp
     24 </server>
     25 <name>
     26 FTP PORT and 425 on download
     27 </name>
     28 <command>
     29 --max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
     30 </command>
     31 
     32 </client>
     33 
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strip>
     37 QUIT
     38 </strip>
     39 <strippart>
     40 s/^EPRT \|1\|(.*)/EPRT \|1\|/
     41 </strippart>
     42 <protocol>
     43 USER anonymous
     44 PASS ftp@example.com
     45 PWD
     46 EPRT |1|
     47 TYPE I
     48 SIZE %TESTNUMBER
     49 RETR %TESTNUMBER
     50 QUIT
     51 </protocol>
     52 10 is CURLE_FTP_ACCEPT_FAILED
     53 <errorcode>
     54 10
     55 </errorcode>
     56 </verify>
     57 </testcase>