mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +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,14 +30,14 @@ To: another
|
|||
body
|
||||
</stdin>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;headers=X-test1: this is a header;type=text/html;headers=X-test2: this is another header " -F "=This is the plain text version;headers=@log/headers%TESTNUMBER" -F "=)" -F "=@log/test%TESTNUMBER.txt;headers=<log/headers%TESTNUMBER" -H "From: different" -H "To: another" -H "Reply-To: <followup@example.com>"
|
||||
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F "=(;type=multipart/alternative" -F "= <body>This is the html version</body>;headers=X-test1: this is a header;type=text/html;headers=X-test2: this is another header " -F "=This is the plain text version;headers=@%LOGDIR/headers%TESTNUMBER" -F "=)" -F "=@%LOGDIR/test%TESTNUMBER.txt;headers=<%LOGDIR/headers%TESTNUMBER" -H "From: different" -H "To: another" -H "Reply-To: <followup@example.com>"
|
||||
</command>
|
||||
<file1 name="log/test%TESTNUMBER.txt">
|
||||
<file1 name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
This is an attached file.
|
||||
|
||||
It may contain any type of data.
|
||||
</file1>
|
||||
<file2 name="log/headers%TESTNUMBER">
|
||||
<file2 name="%LOGDIR/headers%TESTNUMBER">
|
||||
# This line is a comment
|
||||
X-fileheader1: This is a header from a file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue