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