mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:53:38 +03:00
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:
parent
8c76ae317f
commit
39697dead3
37 changed files with 39 additions and 333 deletions
|
|
@ -25,22 +25,14 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
|
|||
#
|
||||
# Client-side
|
||||
<client>
|
||||
# this relies on the debug feature to allow us to set directory to store the
|
||||
# -O and -J output in, using the CURL_TESTDIR variable
|
||||
<features>
|
||||
Debug
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<name>
|
||||
HTTP GET with -O -J and Content-Disposition, -D file
|
||||
</name>
|
||||
<setenv>
|
||||
CURL_TESTDIR=%PWD/%LOGDIR
|
||||
</setenv>
|
||||
<command option="no-output,no-include">
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D %LOGDIR/heads%TESTNUMBER -w "curl saved to filename %{filename_effective}\n"
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D %LOGDIR/heads%TESTNUMBER -w "curl saved to filename %{filename_effective}\n" --output-dir %LOGDIR
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -71,7 +63,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
|
|||
</file2>
|
||||
|
||||
<file3 name="%LOGDIR/stdout%TESTNUMBER" mode="text">
|
||||
curl saved to filename %PWD/%LOGDIR/name%TESTNUMBER
|
||||
curl saved to filename %LOGDIR/name%TESTNUMBER
|
||||
</file3>
|
||||
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue