Commit 43079161 authored by Yang Tse's avatar Yang Tse
Browse files

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.
parent 00fddba6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,3 +22,6 @@
1361
1362
#
1338
1339
#
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ CURL_TESTDIR=%PWD/log
http://%HOSTIP:%HTTPPORT/1336 -O -D log/heads1336
</command>
<postcheck>
perl %SRCDIR/libtest/notexists.pl %PWD/log/name1336
perl %SRCDIR/libtest/notexists.pl log/name1336
</postcheck>
</client>

+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ CURL_TESTDIR=%PWD/log
http://%HOSTIP:%HTTPPORT/1337 -O -D -
</command>
<postcheck>
perl %SRCDIR/libtest/notexists.pl %PWD/log/name1337
perl %SRCDIR/libtest/notexists.pl log/name1337
</postcheck>
</client>

+0 −1
Original line number Diff line number Diff line
@@ -71,7 +71,6 @@ Content-Type: text/html
</file2>

<file3 name="log/stdout1338">
curl: Saved to filename '%PWD/log/1338'
</file3>

</verify>
+0 −1
Original line number Diff line number Diff line
@@ -68,7 +68,6 @@ Content-Length: 6
Connection: close
Content-Type: text/html

curl: Saved to filename '%PWD/log/1339'
</file2>

</verify>
Loading