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