aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1370
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-09 05:31:57 +0200
committerYang Tse <yangsita@gmail.com>2012-06-09 05:49:48 +0200
commitc29d1f4e3ad2152d6bdc990c45454a3a5b3bd224 (patch)
treee5e9031f5acc687e4277755b6df537db0a22e3b3 /tests/data/test1370
parent674e53f40ee1c5a8c3c9e2b0c8a748cae0ebe85c (diff)
tests: fix test definitions # 1370 and 1371
-J without -O shall not honor C-D filename
Diffstat (limited to 'tests/data/test1370')
-rw-r--r--tests/data/test137013
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/data/test1370 b/tests/data/test1370
index 91e95c463..52cc70321 100644
--- a/tests/data/test1370
+++ b/tests/data/test1370
@@ -25,25 +25,17 @@ Content-Disposition: filename=name1370; 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, using the CURL_TESTDIR variable
-<features>
-debug
-</features>
<server>
http
</server>
<name>
HTTP GET -o fname -J and Content-Disposition, -D file
</name>
-<setenv>
-CURL_TESTDIR=%PWD/log
-</setenv>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/1370 -J -o log/outfile1370 -D log/heads1370
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl log/1370
+perl %SRCDIR/libtest/notexists.pl log/1370 log/name1370
</postcheck>
</client>
@@ -60,7 +52,7 @@ Accept: */*
</protocol>
-<file1 name="log/name1370">
+<file1 name="log/outfile1370">
12345
</file1>
@@ -76,7 +68,6 @@ Content-Disposition: filename=name1370; charset=funny; option=strange
</file2>
<file3 name="log/stdout1370">
-curl: Saved to filename '%PWD/log/name1370'
</file3>
</verify>