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


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


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


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


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


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


</verify>
</verify>
Loading