tests: use %LOGDIR to refer to the log directory

This will allow it be set dynamically.

Ref: #10818
This commit is contained in:
Dan Fandrich 2023-03-28 18:20:54 -07:00
parent 0c82fcde79
commit e7a021e135
447 changed files with 1076 additions and 1070 deletions

View file

@ -44,9 +44,9 @@ HTTPS GET translated by alt-svc lookup to HTTP/2 GET
CURL_ALTSVC_HTTP="yeah"
</setenv>
<command>
--http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER"
--http2 --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER"
</command>
<file name="log/altsvc-%TESTNUMBER">
<file name="%LOGDIR/altsvc-%TESTNUMBER">
h2 %HOSTIP %HTTPPORT h2 %HOSTIP %HTTP2PORT "20290222 22:19:28" 0 0
</file>
@ -85,7 +85,7 @@ s/^server: nghttpx.*\r?\n//
# matches
s/\"2([^\"]*)\"/TIMESTAMP/
</stripfile>
<file name="log/altsvc-%TESTNUMBER" mode="text">
<file name="%LOGDIR/altsvc-%TESTNUMBER" mode="text">
# Your alt-svc cache. https://curl.se/docs/alt-svc.html
# This file was generated by libcurl! Edit at your own risk.
h2 %HOSTIP %HTTPPORT h2 %HOSTIP %HTTP2PORT TIMESTAMP 0 0