mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:34:45 +03:00
tests: use %LOGDIR to refer to the log directory
This will allow it be set dynamically. Ref: #10818
This commit is contained in:
parent
0c82fcde79
commit
e7a021e135
447 changed files with 1076 additions and 1070 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue