quickjs-tart

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

test712 (640B)


      1 <testcase>
      2 #based off test 707 after bug report #1218
      3 <info>
      4 <keywords>
      5 FTP
      6 PASV
      7 RETR
      8 SOCKS5
      9 </keywords>
     10 </info>
     11 #
     12 # Server-side
     13 <reply>
     14 <data>
     15 silly content
     16 </data>
     17 </reply>
     18 
     19 #
     20 # Client-side
     21 <client>
     22 <features>
     23 proxy
     24 </features>
     25 <server>
     26 ftp
     27 socks5
     28 </server>
     29 <name>
     30 FTP fetch with --proxy set to socks5://
     31 </name>
     32 <command>
     33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
     34 </command>
     35 </client>
     36 
     37 #
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <strip>
     41 QUIT
     42 </strip>
     43 <protocol>
     44 USER anonymous
     45 PASS ftp@example.com
     46 PWD
     47 EPSV
     48 TYPE I
     49 SIZE %TESTNUMBER
     50 RETR %TESTNUMBER
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>