quickjs-tart

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

test1654 (1621B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 unittest
      5 Alt-Svc
      6 </keywords>
      7 </info>
      8 
      9 <client>
     10 <server>
     11 none
     12 </server>
     13 <features>
     14 unittest
     15 alt-svc
     16 </features>
     17 
     18 # This date is exactly "20190124 22:34:21" UTC
     19 <setenv>
     20 CURL_TIME=1548369261
     21 </setenv>
     22 <name>
     23 alt-svc
     24 </name>
     25 <command>
     26 %LOGDIR/%TESTNUMBER
     27 </command>
     28 <file name="%LOGDIR/%TESTNUMBER" mode="text">
     29 h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 0
     30 # a comment
     31 h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 0
     32   h1 example.com 443 h3 shiny.example.com 8443 "20121231 00:00:01" 0 0
     33 	h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00:00" 0 0
     34     # also a comment
     35 bad example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 0
     36 rubbish
     37 </file>
     38 </client>
     39 <verify>
     40 <file name="%LOGDIR/%TESTNUMBER-out" mode="text">
     41 # Your alt-svc cache. https://curl.se/docs/alt-svc.html
     42 # This file was generated by libcurl! Edit at your own risk.
     43 h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 0
     44 h2 foo.example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 0
     45 h1 example.com 443 h3 shiny.example.com 8443 "20121231 00:00:01" 0 0
     46 h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00:00" 0 0
     47 h1 example.org 8080 h2 example.com 8080 "20190125 22:34:21" 0 0
     48 h1 2.example.org 8080 h3 2.example.org 8080 "20190125 22:34:21" 0 0
     49 h1 3.example.org 8080 h2 example.com 8080 "20190125 22:34:21" 0 0
     50 h1 3.example.org 8080 h3 yesyes.com 8080 "20190125 22:34:21" 0 0
     51 h2 example.org 80 h2 example.com 443 "20190124 22:36:21" 0 0
     52 h2 example.net 80 h2 example.net 443 "20190124 22:37:21" 0 0
     53 </file>
     54 </verify>
     55 </testcase>