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/test1360 | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'tests/data/test1360') diff --git a/tests/data/test1360 b/tests/data/test1360 index 01c4bdba2..f7c54cf3f 100644 --- a/tests/data/test1360 +++ b/tests/data/test1360 @@ -42,6 +42,9 @@ CURL_TESTDIR=%PWD/log ftp://%HOSTIP:%FTPPORT/path/file1360 -O -J -D - + +perl %SRCDIR/libtest/notexists.pl %PWD/log/name1360 + # Verify data after the test has been "shot" @@ -70,10 +73,7 @@ Content-Disposition: filename=name1360; charset=funny; option=strange MOOOO - - - - + 220- _ _ ____ _ 220- ___| | | | _ \| | 220- / __| | | | |_) | | @@ -89,13 +89,10 @@ MOOOO 150 Binary data connection for 1360 () (214 bytes). 226 File transfer complete curl: Saved to filename '%PWD/log/file1360' - - + + s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/ - - - - + -- cgit v1.2.3