quickjs-tart

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

test2083 (557B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 </keywords>
      6 </info>
      7 
      8 # Server-side
      9 <reply>
     10 <data>
     11 </data>
     12 </reply>
     13 
     14 # Client-side
     15 <client>
     16 <server>
     17 ftp
     18 </server>
     19 
     20 <name>
     21 Pre-request callback for FTP
     22 </name>
     23 <tool>
     24 lib2082
     25 </tool>
     26 
     27 <command>
     28 ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
     29 </command>
     30 </client>
     31 
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 <stripfile>
     35 s/^Local port = \d+/Local port = stripped/
     36 </stripfile>
     37 <stdout>
     38 Connected to %HOSTIP
     39 Connected from %CLIENTIP
     40 Remote port = %FTPPORT
     41 Local port = stripped
     42 Returning = 0
     43 </stdout>
     44 </verify>
     45 </testcase>