2
0
mirror of https://github.com/curl/curl.git synced 2025-04-24 16:40:32 +08:00

tests: fix log directory path in IPFS tests

Hard-coding the log directory name fails with parallel tests.

Follow-up to 65b563a96

Ref: 
This commit is contained in:
Dan Fandrich 2023-09-25 12:37:20 -07:00
parent 9ffd411735
commit 3ed0e34326
2 changed files with 4 additions and 4 deletions
tests/data

@ -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>

@ -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>