summaryrefslogtreecommitdiff
path: root/tests/data/test1359
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/test1359
parent00fddba6727c44bbf5f22b2bfaff4ef1d7111b19 (diff)
downloadcurl-430791616b6c067b6da3ab64e486d6ca8d8136f4.tar.gz
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/test1359')
-rw-r--r--tests/data/test13593
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/data/test1359 b/tests/data/test1359
index e7597cb90..bb9747ae4 100644
--- a/tests/data/test1359
+++ b/tests/data/test1359
@@ -43,7 +43,7 @@ CURL_TESTDIR=%PWD/log
ftp://%HOSTIP:%FTPPORT/path/file1359 -O -J -D log/heads1359
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl %PWD/log/name1359
+perl %SRCDIR/libtest/notexists.pl log/name1359
</postcheck>
</client>
@@ -95,7 +95,6 @@ s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
<file3 name="log/stdout1359">
-curl: Saved to filename '%PWD/log/file1359'
</file3>
</verify>