quickjs-tart

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

test1447 (447B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP proxy
      5 FAILURE
      6 </keywords>
      7 </info>
      8 #
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 #
     14 # Client-side
     15 <client>
     16 <server>
     17 none
     18 </server>
     19 <features>
     20 http
     21 proxy
     22 </features>
     23 <name>
     24 Provide illegal proxy name
     25 </name>
     26 <command>
     27 --proxy "http://a:b@/x" http://%HOSTIP:%NOLISTENPORT
     28 </command>
     29 </client>
     30 
     31 #
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 # Couldn't resolve proxy name
     35 <errorcode>
     36 5
     37 </errorcode>
     38 </verify>
     39 </testcase>