File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1654
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>