quickjs-tart

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

test2086 (838B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 IPv6
      6 </keywords>
      7 </info>
      8 
      9 # Server-side
     10 <reply>
     11 <data nocheck="yes">
     12 HTTP/1.1 200 OK
     13 Date: Tue, 09 Nov 2010 14:49:00 GMT
     14 Server: test-server/fake
     15 Content-Type: text/html
     16 Content-Length: 0
     17 
     18 </data>
     19 </reply>
     20 
     21 # Client-side
     22 <client>
     23 <features>
     24 http
     25 IPv6
     26 </features>
     27 <server>
     28 http-ipv6
     29 </server>
     30 
     31 <name>
     32 Pre-request callback for HTTP IPv6
     33 </name>
     34 <tool>
     35 lib2082
     36 </tool>
     37 
     38 <command>
     39 %HOST6IP:%HTTP6PORT/%TESTNUMBER#ipv6
     40 </command>
     41 <setenv>
     42 # Needed for MSYS2 to not treat the URL as a path list
     43 MSYS2_ARG_CONV_EXCL=*
     44 </setenv>
     45 </client>
     46 
     47 # Verify data after the test has been "shot"
     48 <verify>
     49 <stripfile>
     50 s/^Local port = \d+/Local port = stripped/
     51 </stripfile>
     52 <stdout>
     53 Connected to %HOST6IP
     54 Connected from %CLIENT6IP
     55 Remote port = %HTTP6PORT
     56 Local port = stripped
     57 Returning = 0
     58 </stdout>
     59 </verify>
     60 </testcase>