make %z portable

This commit is contained in:
Daniel Stenberg 2025-08-01 16:56:00 +02:00
parent 3c92c60a1f
commit 958b3c1105
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 13 additions and 8 deletions

View file

@ -38,10 +38,10 @@ http
Debug
</features>
<setenv>
CURL_TIME=1754037100
CURL_TIME=1754037103
</setenv>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out='Time: %time{%d/%b/%Y %H:%M:%S.%f %z}\n' -s -o %LOGDIR/dump
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out='Time: %time{%d/%b/%Y %H:%M:%S.%f %z %Z}\n' -s -o %LOGDIR/dump
</command>
</client>
@ -56,7 +56,7 @@ Accept: */*
</protocol>
<stdout mode="text">
Time: 01/Aug/2025 08:31:40.037100 +0000
Time: 01/Aug/2025 08:31:43.037103 +0000 GMT
</stdout>
</verify>
</testcase>