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
|
|
@ -30,10 +30,10 @@ http
|
|||
HTTP GET -o fname without Content-Disposition, -D stdout
|
||||
</name>
|
||||
<command option="no-output,no-include">
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o log/outfile%TESTNUMBER -D -
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER -D -
|
||||
</command>
|
||||
<postcheck>
|
||||
perl %SRCDIR/libtest/notexists.pl log/%TESTNUMBER
|
||||
perl %SRCDIR/libtest/notexists.pl %LOGDIR/%TESTNUMBER
|
||||
</postcheck>
|
||||
</client>
|
||||
|
||||
|
|
@ -48,11 +48,11 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
|
||||
<file1 name="log/outfile%TESTNUMBER">
|
||||
<file1 name="%LOGDIR/outfile%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue