• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4unittest
5HSTS
6</keywords>
7</info>
8
9<client>
10<server>
11none
12</server>
13<features>
14unittest
15HSTS
16</features>
17
18<file name="log/input%TESTNUMBER">
19# Your HSTS cache. https://curl.se/docs/hsts.html
20# This file was generated by libcurl! Edit at your own risk.
21.readfrom.example "20211001 04:47:41"
22.old.example "20161001 04:47:41"
23</file>
24
25# This date is exactly "20190124 22:34:21" UTC
26<setenv>
27CURL_TIME=1548369261
28</setenv>
29<name>
30HSTS
31</name>
32<command>
33-
34</command>
35</client>
36
37<verify>
38<stdout>
39readfrom.example [readfrom.example]: 1633063661 includeSubDomains
40'old.example' is not HSTS
41'readfrom.example' is not HSTS
42example.com [example.com]: 1579905261
43example.com [example.com]: 1569905261
44example.com [example.com]: 1569905261
45example.com [example.com]: 1569905261 includeSubDomains
46example.org [example.org]: 1579905261
47Input 8: error 43
48Input 9: error 43
49this.example [this.example]: 1548400797
50'this.example' is not HSTS
51Input 12: error 43
52Input 13: error 43
53Input 14: error 43
543.example.com [example.com]: 1569905261 includeSubDomains
553.example.com [example.com]: 1569905261 includeSubDomains
56foo.example.com [example.com]: 1569905261 includeSubDomains
57'foo.xample.com' is not HSTS
58'forexample.net' is not HSTS
59'forexample.net' is not HSTS
60'example.net' is not HSTS
61expire.example [expire.example]: 1548369268
62Number of entries: 3
63expire.example [expire.example]: 1548369268
64expire.example [expire.example]: 1548369268
65expire.example [expire.example]: 1548369268
66expire.example [expire.example]: 1548369268
67expire.example [expire.example]: 1548369268
68expire.example [expire.example]: 1548369268
69expire.example [expire.example]: 1548369268
70'expire.example' is not HSTS
71'expire.example' is not HSTS
72'expire.example' is not HSTS
73</stdout>
74<file name="log/hsts%TESTNUMBER" mode="text">
75# Your HSTS cache. https://curl.se/docs/hsts.html
76# This file was generated by libcurl! Edit at your own risk.
77.example.com "20191001 04:47:41"
78example.org "20200124 22:34:21"
79</file>
80</verify>
81</testcase>
82