From 2b56e4c1bb31dc69517156a1c70a264a6f6e91e4 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 5 Jun 2012 20:19:27 +0200 Subject: tests 1334 to 1363 revisited. Add a postcheck section to verify unintended file creation. Remove needless checks in verify section. Renumbering where appropriate. --- tests/data/test1362 | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'tests/data/test1362') diff --git a/tests/data/test1362 b/tests/data/test1362 index 698876805..71ed9d5e6 100644 --- a/tests/data/test1362 +++ b/tests/data/test1362 @@ -41,6 +41,9 @@ CURL_TESTDIR=%PWD/log ftp://%HOSTIP:%FTPPORT/path/file1362 -O -i -D - + +perl %SRCDIR/libtest/notexists.pl %PWD/log/name1362 + # Verify data after the test has been "shot" @@ -69,10 +72,7 @@ Content-Disposition: filename=name1362; charset=funny; option=strange MOOOO - - - - + 220- _ _ ____ _ 220- ___| | | | _ \| | 220- / __| | | | |_) | | @@ -87,13 +87,10 @@ MOOOO 213 214 150 Binary data connection for 1362 () (214 bytes). 226 File transfer complete - - + + s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ - - - - + -- cgit v1.2.3