quickjs-tart

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

test219 (463B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 proxy
      5 unsupported scheme
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 </reply>
     13 
     14 #
     15 # Client-side
     16 <client>
     17 <server>
     18 none
     19 </server>
     20 <features>
     21 http
     22 proxy
     23 </features>
     24 <name>
     25 try using proxy with unsupported scheme
     26 </name>
     27 <command>
     28 -x foo://%HOSTIP:%NOLISTENPORT/%TESTNUMBER http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
     29 </command>
     30 </client>
     31 
     32 #
     33 # Verify after the test has been "shot"
     34 <verify>
     35 <errorcode>
     36 7
     37 </errorcode>
     38 </verify>
     39 </testcase>