test1660: check the created HSTS file as text mode

Closes #6922
This commit is contained in:
Daniel Stenberg 2021-04-21 00:18:59 +02:00
parent 6bdc96fee9
commit 6b97f1311a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -71,7 +71,7 @@ expire.example [expire.example]: 1548369268
'expire.example' is not HSTS 'expire.example' is not HSTS
'expire.example' is not HSTS 'expire.example' is not HSTS
</stdout> </stdout>
<file name="log/hsts%TESTNUMBER"> <file name="log/hsts%TESTNUMBER" mode="text">
# Your HSTS cache. https://curl.se/docs/hsts.html # Your HSTS cache. https://curl.se/docs/hsts.html
# This file was generated by libcurl! Edit at your own risk. # This file was generated by libcurl! Edit at your own risk.
.example.com "20191001 04:47:41" .example.com "20191001 04:47:41"