#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
</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>
#
# 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>
Content-Type: text/html\r
Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange\r
\r
-curl saved to filename %PWD/%LOGDIR/name%TESTNUMBER
+curl saved to filename %LOGDIR/name%TESTNUMBER
</file2>
</verify>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
#
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
# 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>
#
# 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>
<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>
#
# 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.
#
# 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>