aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1360
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-07 15:26:03 +0200
committerYang Tse <yangsita@gmail.com>2012-06-07 15:29:46 +0200
commit430791616b6c067b6da3ab64e486d6ca8d8136f4 (patch)
treef7c942215c47b810d6cd4bc176df6ecd35d77212 /tests/data/test1360
parent00fddba6727c44bbf5f22b2bfaff4ef1d7111b19 (diff)
tests 1348 to 1363: test definition polishing
Verify that the "Saved to filename 'blabla'" message is only displayed when the 'blabla' filename being used _actually_ has been specified by the server in the Content-Disposition header. Use relative path for unintended file creation postcheck.
Diffstat (limited to 'tests/data/test1360')
-rw-r--r--tests/data/test13603
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/data/test1360 b/tests/data/test1360
index 9308e8701..d2cb33dfc 100644
--- a/tests/data/test1360
+++ b/tests/data/test1360
@@ -43,7 +43,7 @@ CURL_TESTDIR=%PWD/log
ftp://%HOSTIP:%FTPPORT/path/file1360 -O -J -D -
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl %PWD/log/name1360
+perl %SRCDIR/libtest/notexists.pl log/name1360
</postcheck>
</client>
@@ -89,7 +89,6 @@ MOOOO
150 Binary data connection for 1360 () (214 bytes).
226 File transfer complete
221 bye bye baby
-curl: Saved to filename '%PWD/log/file1360'
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/