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 <tool> 30 unit1654 31 </tool> 32 <file name="log/1654" mode="text"> 33 h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 34 # a comment 35 h2c example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1 36 h1 example.com 443 h3 shiny.example.com 8443 "20121231 00:00:01" 0 1 37 h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00:00" 0 1 38 # also a comment 39 bad example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 40 rubbish 41 </file> 42 </client> 43 <verify> 44 <file name="log/1654-out" mode="text"> 45 # Your alt-svc cache. https://curl.haxx.se/docs/alt-svc.html 46 # This file was generated by libcurl! Edit at your own risk. 47 h2 example.com 443 h3 shiny.example.com 8443 "20191231 00:00:00" 0 1 48 h2c example.com 443 h3 shiny.example.com 8443 "20291231 23:30:00" 0 1 49 h1 example.com 443 h3 shiny.example.com 8443 "20121231 00:00:01" 0 1 50 h3 example.com 443 h3 shiny.example.com 8443 "20131231 00:00:00" 0 1 51 h1 example.org 8080 h2 example.com 8080 "20190125 22:34:21" 0 0 52 h1 2.example.org 8080 h3 2.example.org 8080 "20190125 22:34:21" 0 0 53 h1 3.example.org 8080 h2 example.com 8080 "20190125 22:34:21" 0 0 54 h1 3.example.org 8080 h3 yesyes.com 8080 "20190125 22:34:21" 0 0 55 h2c example.org 80 h2 example.com 443 "20190124 22:36:21" 0 0 56 </file> 57 </verify> 58 </testcase> 59