quickjs-tart

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

test564 (907B)


      1 <testcase>
      2 # Warning: if this test fails to start the SSH server, check that none of
      3 # the user's shell profiles sends output to stdout of a non-interactive shell.
      4 <info>
      5 <keywords>
      6 FTP
      7 PASV
      8 RETR
      9 multi
     10 SOCKS4
     11 </keywords>
     12 </info>
     13 # Server-side
     14 <reply>
     15 <data>
     16 data
     17     to
     18       see
     19 that FTP
     20 works
     21   so does it?
     22 </data>
     23 
     24 </reply>
     25 
     26 # Client-side
     27 <client>
     28 <server>
     29 ftp
     30 socks4
     31 </server>
     32 <tool>
     33 lib%TESTNUMBER
     34 </tool>
     35 <name>
     36 FTP RETR a file over a SOCKS proxy using the multi interface
     37 </name>
     38 <command>
     39 ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %HOSTIP:%SOCKSPORT
     40 </command>
     41 <features>
     42 proxy
     43 </features>
     44 </client>
     45 
     46 # Verify data after the test has been "shot"
     47 <verify>
     48 <strip>
     49 QUIT
     50 </strip>
     51 <protocol>
     52 USER anonymous
     53 PASS ftp@example.com
     54 PWD
     55 CWD path
     56 EPSV
     57 TYPE I
     58 SIZE %TESTNUMBER
     59 RETR %TESTNUMBER
     60 QUIT
     61 </protocol>
     62 <stdout>
     63 data
     64     to
     65       see
     66 that FTP
     67 works
     68   so does it?
     69 </stdout>
     70 </verify>
     71 </testcase>