mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
tool_writeout: fix %time{} output for %s
Now testing both %s and %% in test 1981 Reported-by: wulin-nudt on github Fixes #22038 Closes #22039
This commit is contained in:
parent
678e63934c
commit
e0c6f4d4d6
2 changed files with 31 additions and 10 deletions
|
|
@ -41,7 +41,7 @@ CURL_TIME=1754037103
|
|||
LC_TIME=C
|
||||
</setenv>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out='Time: %time{%d/%b/%Y %H:%M:%S.%f %z %Z}\n' -s -o %LOGDIR/dump
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out='Time: %time{%d/%b/%Y %H:%M:%S.%f %z %Z%%s %s}\n' -s -o %LOGDIR/dump
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
<stdout mode="text">
|
||||
Time: 01/Aug/2025 08:31:43.037103 +0000 UTC
|
||||
Time: 01/Aug/2025 08:31:43.037103 +0000 UTC%s 1754037103
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue