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/test1363 | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'tests/data/test1363') diff --git a/tests/data/test1363 b/tests/data/test1363 index 30532275e..d62783e52 100644 --- a/tests/data/test1363 +++ b/tests/data/test1363 @@ -41,6 +41,9 @@ CURL_TESTDIR=%PWD/log ftp://%HOSTIP:%FTPPORT/path/file1363 -O -i + +perl %SRCDIR/libtest/notexists.pl %PWD/log/name1363 + # Verify data after the test has been "shot" @@ -69,10 +72,7 @@ Content-Disposition: filename=name1363; charset=funny; option=strange MOOOO - - - - + 220- _ _ ____ _ 220- ___| | | | _ \| | 220- / __| | | | |_) | | @@ -87,13 +87,10 @@ MOOOO 213 214 150 Binary data connection for 1363 () (214 bytes). 226 File transfer complete - - + + s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ - - - - + -- cgit v1.2.3