summaryrefslogtreecommitdiff
path: root/tests/data/test1334
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2023-03-28 18:20:54 -0700
committerDan Fandrich <dan@coneharvesters.com>2023-03-30 09:53:57 -0700
commite7a021e13551f221e13f4c99a245482ca9a2af1b (patch)
treec8e8a33ae1512630adec96422358a8b2a17d2fdd /tests/data/test1334
parent0c82fcde79c113d08b59cc5958a2fd35363c0ede (diff)
downloadcurl-e7a021e13551f221e13f4c99a245482ca9a2af1b.tar.gz
tests: use %LOGDIR to refer to the log directory
This will allow it be set dynamically. Ref: #10818
Diffstat (limited to 'tests/data/test1334')
-rw-r--r--tests/data/test133410
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/test1334 b/tests/data/test1334
index b19155923..88a41d8b2 100644
--- a/tests/data/test1334
+++ b/tests/data/test1334
@@ -35,10 +35,10 @@ http
HTTP GET with -O without Content-Disposition, -D file
</name>
<setenv>
-CURL_TESTDIR=%PWD/log
+CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D log/heads%TESTNUMBER
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER
</command>
</client>
@@ -53,11 +53,11 @@ Accept: */*
</protocol>
-<file1 name="log/%TESTNUMBER">
+<file1 name="%LOGDIR/%TESTNUMBER">
12345
</file1>
-<file2 name="log/heads%TESTNUMBER">
+<file2 name="%LOGDIR/heads%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@@ -67,7 +67,7 @@ Content-Type: text/html
</file2>
-<file3 name="log/stdout%TESTNUMBER">
+<file3 name="%LOGDIR/stdout%TESTNUMBER">
</file3>
</verify>