From: Yang Tse Date: Sat, 9 Jun 2012 03:31:57 +0000 (+0200) Subject: tests: fix test definitions # 1370 and 1371 X-Git-Tag: curl-7_27_0~247 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c29d1f4e3ad2152d6bdc990c45454a3a5b3bd224;p=thirdparty%2Fcurl.git tests: fix test definitions # 1370 and 1371 -J without -O shall not honor C-D filename --- diff --git a/tests/data/test1370 b/tests/data/test1370 index 91e95c4634..52cc703218 100644 --- a/tests/data/test1370 +++ b/tests/data/test1370 @@ -25,25 +25,17 @@ Content-Disposition: filename=name1370; charset=funny; option=strange # # Client-side -# this relies on the debug feature to allow us to set directory to store the -# -J output in, using the CURL_TESTDIR variable - -debug - http HTTP GET -o fname -J and Content-Disposition, -D file - -CURL_TESTDIR=%PWD/log - http://%HOSTIP:%HTTPPORT/1370 -J -o log/outfile1370 -D log/heads1370 -perl %SRCDIR/libtest/notexists.pl log/1370 +perl %SRCDIR/libtest/notexists.pl log/1370 log/name1370 @@ -60,7 +52,7 @@ Accept: */* - + 12345 @@ -76,7 +68,6 @@ Content-Disposition: filename=name1370; charset=funny; option=strange -curl: Saved to filename '%PWD/log/name1370' diff --git a/tests/data/test1371 b/tests/data/test1371 index 6313d56656..081850fa5a 100644 --- a/tests/data/test1371 +++ b/tests/data/test1371 @@ -25,25 +25,17 @@ Content-Disposition: filename=name1371; charset=funny; option=strange # # Client-side -# this relies on the debug feature to allow us to set directory to store the -# -J output in, using the CURL_TESTDIR variable - -debug - http HTTP GET -o fname -J and Content-Disposition, -D stdout - -CURL_TESTDIR=%PWD/log - http://%HOSTIP:%HTTPPORT/1371 -J -o log/outfile1371 -D - -perl %SRCDIR/libtest/notexists.pl log/1371 +perl %SRCDIR/libtest/notexists.pl log/1371 log/name1371 @@ -60,7 +52,7 @@ Accept: */* - + 12345 @@ -73,7 +65,6 @@ Connection: close Content-Type: text/html Content-Disposition: filename=name1371; charset=funny; option=strange -curl: Saved to filename '%PWD/log/name1371'