xref: /aosp_15_r20/external/curl/tests/data/test1660 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard Workerunittest
5*6236dae4SAndroid Build Coastguard WorkerHSTS
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker<client>
10*6236dae4SAndroid Build Coastguard Worker<server>
11*6236dae4SAndroid Build Coastguard Workernone
12*6236dae4SAndroid Build Coastguard Worker</server>
13*6236dae4SAndroid Build Coastguard Worker<features>
14*6236dae4SAndroid Build Coastguard Workerunittest
15*6236dae4SAndroid Build Coastguard WorkerHSTS
16*6236dae4SAndroid Build Coastguard Worker</features>
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/hsts%TESTNUMBER">
19*6236dae4SAndroid Build Coastguard Worker# Your HSTS cache. https://curl.se/docs/hsts.html
20*6236dae4SAndroid Build Coastguard Worker# This file was generated by libcurl! Edit at your own risk.
21*6236dae4SAndroid Build Coastguard Worker.readfrom.example "20211001 04:47:41"
22*6236dae4SAndroid Build Coastguard Worker.old.example "20161001 04:47:41"
23*6236dae4SAndroid Build Coastguard Worker.new.example "unlimited"
24*6236dae4SAndroid Build Coastguard Worker</file>
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Worker# This date is exactly "20190124 22:34:21" UTC
27*6236dae4SAndroid Build Coastguard Worker<setenv>
28*6236dae4SAndroid Build Coastguard WorkerCURL_TIME=1548369261
29*6236dae4SAndroid Build Coastguard Worker</setenv>
30*6236dae4SAndroid Build Coastguard Worker<name>
31*6236dae4SAndroid Build Coastguard WorkerHSTS
32*6236dae4SAndroid Build Coastguard Worker</name>
33*6236dae4SAndroid Build Coastguard Worker<command>
34*6236dae4SAndroid Build Coastguard Worker%LOGDIR/hsts%TESTNUMBER
35*6236dae4SAndroid Build Coastguard Worker</command>
36*6236dae4SAndroid Build Coastguard Worker</client>
37*6236dae4SAndroid Build Coastguard Worker
38*6236dae4SAndroid Build Coastguard Worker<verify>
39*6236dae4SAndroid Build Coastguard Worker<stdout>
40*6236dae4SAndroid Build Coastguard Workerreadfrom.example [readfrom.example]: 1633063661 includeSubDomains
41*6236dae4SAndroid Build Coastguard Worker'old.example' is not HSTS
42*6236dae4SAndroid Build Coastguard Worker'readfrom.example' is not HSTS
43*6236dae4SAndroid Build Coastguard Workerexample.com [example.com]: 1579905261
44*6236dae4SAndroid Build Coastguard Workerexample.com [example.com]: 1569905261
45*6236dae4SAndroid Build Coastguard Workerexample.com [example.com]: 1569905261
46*6236dae4SAndroid Build Coastguard Workerexample.com [example.com]: 1569905261 includeSubDomains
47*6236dae4SAndroid Build Coastguard Workerexample.org [example.org]: 1579905261
48*6236dae4SAndroid Build Coastguard WorkerInput 8: error 43
49*6236dae4SAndroid Build Coastguard WorkerInput 9: error 43
50*6236dae4SAndroid Build Coastguard Workerthis.example [this.example]: 1548400797
51*6236dae4SAndroid Build Coastguard Worker'this.example' is not HSTS
52*6236dae4SAndroid Build Coastguard WorkerInput 12: error 43
53*6236dae4SAndroid Build Coastguard WorkerInput 13: error 43
54*6236dae4SAndroid Build Coastguard WorkerInput 14: error 43
55*6236dae4SAndroid Build Coastguard Worker3.example.com [3.example.com]: 1569905261 includeSubDomains
56*6236dae4SAndroid Build Coastguard Worker3.example.com [example.com]: 1569905261 includeSubDomains
57*6236dae4SAndroid Build Coastguard Workerfoo.example.com [example.com]: 1569905261 includeSubDomains
58*6236dae4SAndroid Build Coastguard Worker'foo.xample.com' is not HSTS
59*6236dae4SAndroid Build Coastguard Worker'forexample.net' is not HSTS
60*6236dae4SAndroid Build Coastguard Worker'forexample.net' is not HSTS
61*6236dae4SAndroid Build Coastguard Worker'example.net' is not HSTS
62*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
63*6236dae4SAndroid Build Coastguard WorkerNumber of entries: 4
64*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
65*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
66*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
67*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
68*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
69*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
70*6236dae4SAndroid Build Coastguard Workerexpire.example [expire.example]: 1548369268
71*6236dae4SAndroid Build Coastguard Worker'expire.example' is not HSTS
72*6236dae4SAndroid Build Coastguard Worker'expire.example' is not HSTS
73*6236dae4SAndroid Build Coastguard Worker'expire.example' is not HSTS
74*6236dae4SAndroid Build Coastguard Worker</stdout>
75*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/hsts%TESTNUMBER.save" mode="text">
76*6236dae4SAndroid Build Coastguard Worker# Your HSTS cache. https://curl.se/docs/hsts.html
77*6236dae4SAndroid Build Coastguard Worker# This file was generated by libcurl! Edit at your own risk.
78*6236dae4SAndroid Build Coastguard Worker.new.example "unlimited"
79*6236dae4SAndroid Build Coastguard Worker.example.com "20191001 04:47:41"
80*6236dae4SAndroid Build Coastguard Workerexample.org "20200124 22:34:21"
81*6236dae4SAndroid Build Coastguard Worker</file>
82*6236dae4SAndroid Build Coastguard Worker</verify>
83*6236dae4SAndroid Build Coastguard Worker</testcase>
84