]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: fix log directory path in IPFS tests
authorDan Fandrich <dan@coneharvesters.com>
Mon, 25 Sep 2023 19:37:20 +0000 (12:37 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Mon, 25 Sep 2023 19:39:18 +0000 (12:39 -0700)
Hard-coding the log directory name fails with parallel tests.

Follow-up to 65b563a96

Ref: #8805

tests/data/test724
tests/data/test725

index be295ac46a60d4c14733c8bf334a4fc80b8ac95c..fa45c6d41dbe91fc4c685ed7a4ed3c62f54d64f7 100644 (file)
@@ -31,7 +31,7 @@ Hello curl from IPFS
 http
 </server>
 <setenv>
-HOME=%PWD/log
+HOME=%PWD/%LOGDIR
 </setenv>
  <name>
 IPFS with gateway URL from gateway file
@@ -39,7 +39,7 @@ IPFS with gateway URL from gateway file
  <command>
 ipfs://QmV5JejrpgUxnkZeFZYMxVCqAbKy3KdPXWXyuEDiMNZwUx
 </command>
-<file name="log/.ipfs/gateway" >
+<file name="%LOGDIR/.ipfs/gateway" >
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
 </file>
 </client>
index b668dcaca7db6c35dc267b2eb3d5565a35c0ad7a..3690f1f4114cea2f51345f90a7be293dadaec076 100644 (file)
@@ -17,7 +17,7 @@ IPFS
 http
 </server>
 <setenv>
-HOME=%PWD/log
+HOME=%PWD/%LOGDIR
 </setenv>
  <name>
 IPFS with malformed gateway URL from gateway file
@@ -25,7 +25,7 @@ IPFS with malformed gateway URL from gateway file
  <command>
 ipfs://QmV5JejrpgUxnkZeFZYMxVCqAbKy3KdPXWXyuEDiMNZwUx
 </command>
-<file name="log/.ipfs/gateway" >
+<file name="%LOGDIR/.ipfs/gateway" >
 http://nonexisting,local:8080/%TESTNUMBER
 </file>
 </client>