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

@ -37,7 +37,7 @@ http
HTTP GET with -O -J and Content-Disposition, -D stdout
</name>
<setenv>
CURL_TESTDIR=%PWD/log
CURL_TESTDIR=%PWD/%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - -w "curl saved to filename %{filename_effective}\n"
@ -55,11 +55,11 @@ Accept: */*
</protocol>
<file1 name="log/name%TESTNUMBER">
<file1 name="%LOGDIR/name%TESTNUMBER">
12345
</file1>
<file2 name="log/stdout%TESTNUMBER">
<file2 name="%LOGDIR/stdout%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@ -68,7 +68,7 @@ Connection: close
Content-Type: text/html
Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
curl saved to filename %PWD/log/name%TESTNUMBER
curl saved to filename %PWD/%LOGDIR/name%TESTNUMBER
</file2>
</verify>