mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:43:34 +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 RFC1867-type formposting without Expect: header
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@log/test%TESTNUMBER.txt -H "Expect:"
|
||||
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt -H "Expect:"
|
||||
</command>
|
||||
# We create this file before the command is invoked!
|
||||
<file name="log/test%TESTNUMBER.txt">
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
foo-
|
||||
This is a moo-
|
||||
bar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue