quickjs-tart

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

test1472 (481B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 Onion
      5 Tor
      6 FAILURE
      7 </keywords>
      8 </info>
      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 </features>
     23 <name>
     24 Fail to resolve .onion. TLD
     25 </name>
     26 <command>
     27 tasty.onion.
     28 </command>
     29 </client>
     30 
     31 #
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 # Couldn't resolve host name
     35 <errorcode>
     36 6
     37 </errorcode>
     38 <stderr mode="text">
     39 curl: (6) Not resolving .onion address (RFC 7686)
     40 </stderr>
     41 </verify>
     42 </testcase>