summaryrefslogtreecommitdiff
path: root/tests/data/test1347
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/test1347
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/test1347')
-rw-r--r--tests/data/test13478
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/data/test1347 b/tests/data/test1347
index 46e1ae608..868e2611c 100644
--- a/tests/data/test1347
+++ b/tests/data/test1347
@@ -36,13 +36,13 @@ http
HTTP GET with -O -i and Content-Disposition, without -D
</name>
<setenv>
-CURL_TESTDIR=%PWD/log
+CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/name%TESTNUMBER
+perl %SRCDIR/libtest/notexists.pl %LOGDIR/name%TESTNUMBER
</postcheck>
</client>
@@ -57,7 +57,7 @@ Accept: */*
</protocol>
-<file1 name="log/%TESTNUMBER">
+<file1 name="%LOGDIR/%TESTNUMBER">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@@ -69,7 +69,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
12345
</file1>
-<file2 name="log/stdout%TESTNUMBER">
+<file2 name="%LOGDIR/stdout%TESTNUMBER">
</file2>
</verify>