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

@ -24,22 +24,14 @@ Content-Type: text/html
#
# 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>
http
</server>
<name>
HTTP GET with -J without Content-Disposition
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER?junk -J -O
http://%HOSTIP:%HTTPPORT/%TESTNUMBER?junk -J -O --output-dir %LOGDIR
</command>
</client>

View File

@ -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
# -J output in
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -J and Content-Disposition
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O --output-dir %LOGDIR
</command>
</client>

View File

@ -25,22 +25,14 @@ Content-Disposition: inline; filename="name%TESTNUMBER;weird"
#
# Client-side
<client>
# this relies on the debug feature to allow us to set directory to store the
# -J output in
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -J, Content-Disposition and ; in filename
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O --output-dir %LOGDIR
</command>
</client>

View File

@ -25,22 +25,14 @@ Content-Disposition: inline; filename='name%TESTNUMBER
#
# Client-side
<client>
# this relies on the debug feature to allow us to set directory to store the
# -J output in
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -J, Content-Disposition, uneven quotes
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O --output-dir %LOGDIR
</command>
</client>

View File

@ -23,22 +23,14 @@ Content-Type: text/html
#
# 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>
http
</server>
<name>
HTTP GET with -O without Content-Disposition, -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -23,22 +23,14 @@ Content-Type: text/html
#
# 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>
http
</server>
<name>
HTTP GET with -O without Content-Disposition, -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D -
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 output in, using the CURL_TESTDIR variable
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -O and Content-Disposition, -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 output in, using the CURL_TESTDIR variable
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -O and Content-Disposition, -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D -
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,14 @@ Content-Type: text/html
#
# 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 without Content-Disposition, -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D %LOGDIR/heads%TESTNUMBER
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,14 @@ Content-Type: text/html
#
# 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 without Content-Disposition, -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D -
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - --output-dir %LOGDIR
</command>
</client>

View File

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

View File

@ -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 stdout
</name>
<setenv>
CURL_TESTDIR=%PWD/%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - -w "curl saved to filename %{filename_effective}\n"
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - -w "curl saved to filename %{filename_effective}\n" --output-dir %LOGDIR
</command>
</client>
@ -68,7 +60,7 @@ Connection: close
Content-Type: text/html
Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
curl saved to filename %PWD/%LOGDIR/name%TESTNUMBER
curl saved to filename %LOGDIR/name%TESTNUMBER
</file2>
</verify>

View File

@ -23,22 +23,14 @@ Content-Type: text/html
#
# 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>
http
</server>
<name>
HTTP GET with -O -i without Content-Disposition, -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D %LOGDIR/heads%TESTNUMBER
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -23,22 +23,14 @@ Content-Type: text/html
#
# 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>
http
</server>
<name>
HTTP GET with -O -i without Content-Disposition, -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D -
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 output in, using the CURL_TESTDIR variable
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -O -i and Content-Disposition, -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D %LOGDIR/heads%TESTNUMBER
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 output in, using the CURL_TESTDIR variable
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -O -i and Content-Disposition, -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D -
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -23,22 +23,14 @@ Content-Type: text/html
#
# 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>
http
</server>
<name>
HTTP GET with -O -i without Content-Disposition, without -D
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 output in, using the CURL_TESTDIR variable
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -O -i and Content-Disposition, without -D
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -i -O --output-dir %LOGDIR
</command>
</client>

View File

@ -16,22 +16,14 @@ mooo
# 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 without Content-Disposition inside, using -O
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O --output-dir %LOGDIR
</command>
</client>

View File

@ -16,22 +16,14 @@ mooo
# 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 without C-D inside, using -O -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -16,22 +16,14 @@ mooo
# 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 without C-D inside, using -O -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D -
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -17,22 +17,14 @@ mooo
# 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 without 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>

View File

@ -17,22 +17,14 @@ mooo
# 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 without C-D inside, using -O -J -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D -
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -16,22 +16,14 @@ mooo
# 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 without C-D inside, using -O -i -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D %LOGDIR/heads%TESTNUMBER
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -16,22 +16,14 @@ mooo
# 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 without C-D inside, using -O -i -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D -
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -16,22 +16,14 @@ mooo
# 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 without C-D inside, using -O -i, without -D
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 Content-Disposition inside, using -O
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D -
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -D - --output-dir %LOGDIR
</command>
</client>

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>

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 stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D -
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -J -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 -i -D file
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D %LOGDIR/heads%TESTNUMBER
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D %LOGDIR/heads%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 -i -D stdout
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D -
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i -D - --output-dir %LOGDIR
</command>
</client>

View File

@ -24,22 +24,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 -i, without -D
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i
ftp://%HOSTIP:%FTPPORT/path/file%TESTNUMBER -O -i --output-dir %LOGDIR
</command>
</client>

View File

@ -24,10 +24,7 @@ Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=str//nge
#
# 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
file
</features>
<server>
@ -36,11 +33,8 @@ http
<name>
HTTP GET with -O -J and Content-Disposition (empty file)
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O file://%FILE_PWD/%LOGDIR/name%TESTNUMBER
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O file://%FILE_PWD/%LOGDIR/name%TESTNUMBER --output-dir %LOGDIR
</command>
</client>

View File

@ -25,22 +25,14 @@ Connection: close
#
# Client-side
<client>
# This relies on the debug feature to allow us to set a directory
# in which to store the -O output
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -O and --remote-time
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O --remote-time
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O --remote-time --output-dir %LOGDIR
</command>
# Verify the mtime of the file. The mtime is specifically chosen to be an even
# number so that it can be represented exactly on a FAT filesystem.

View File

@ -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
# -J output in
<features>
Debug
</features>
<server>
http
</server>
<name>
HTTP GET with -J and Content-Disposition on 301
</name>
<setenv>
CURL_TESTDIR=%LOGDIR
</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O --output-dir %LOGDIR
</command>
</client>