tests: remove debug requirement on 38 tests

For all tests using -O that were previously relying on a debug build and
the CURL_TESTDIR environment variable, use the plain --output-dir option
instead so that they can run proper in non-debug builds.

Closes #15114
This commit is contained in:
Daniel Stenberg 2024-10-02 00:01:27 +02:00
parent 8c76ae317f
commit 39697dead3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
37 changed files with 39 additions and 333 deletions

View file

@ -25,22 +25,14 @@ MOOOO
# Client-side
<client>
# this relies on the debug feature to allow us to set directory to store the
# -O output in, using the CURL_TESTDIR variable
<features>
Debug
</features>
<server>
ftp
</server>
<name>
FTP download, file with C-D inside, using -O -J -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D %LOGDIR/heads%TESTNUMBER
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>