]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1499, 1599: use `%LOGDIR`
authorViktor Szakats <commit@vsz.me>
Wed, 9 Jul 2025 11:01:57 +0000 (13:01 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 9 Jul 2025 11:52:18 +0000 (13:52 +0200)
Fixing test 1599 also fixes these warnings in the test log:
```
Use of uninitialized value in join or string at /home/runner/work/curl/curl/tests/runner.pm line 774.
```
https://github.com/curl/curl/actions/runs/16157402085/job/45602590085?pr=17768#step:39:743

Assisted-by: Daniel Stenberg
Fixes #17871
Closes #17874

tests/data/test1499
tests/data/test1599

index 262e9b7aafb773ac79875fe12e000c4f9c5e2fb4..9d79e1a38c5fc228ab0c0c2e7e1da5dedd57c842 100644 (file)
@@ -52,7 +52,7 @@ http
 HTTP chunked encoding and chunked trailer, twice
  </name>
  <command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER
 </command>
 </client>
 
index 60d5338f630631a733a00f88cc58656d7c915dd9..a2dd50444458227ca2f6f9632ef9d2b39488a5d7 100644 (file)
@@ -25,12 +25,12 @@ ftp
 FTP with netrc using no user but control code in password
 </name>
 <command>
-ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/netrc%TESTNUMBER
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/netrc%TESTNUMBER
 </command>
 <tool>
 lib%TESTNUMBER
 </tool>
-<file name="log/netrc%TESTNUMBER" nonewline="yes">
+<file name="%LOGDIR/netrc%TESTNUMBER" nonewline="yes">
 default   passwor?dlogin anonymou\ ' password login anonymous       passwor?d.'macdef
 </file>
 </client>