diff options
author | Yang Tse <yangsita@gmail.com> | 2012-06-05 20:19:27 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-06-05 20:20:40 +0200 |
commit | 2b56e4c1bb31dc69517156a1c70a264a6f6e91e4 (patch) | |
tree | bccb9de80370c85203be68a7aa59e127098e9c40 /tests/data/test1356 | |
parent | 62f374b19e2c6cfd417df4a6781a8b8e0a338df4 (diff) |
tests 1334 to 1363 revisited.
Add a postcheck section to verify unintended file creation.
Remove needless <file> checks in verify section. Renumbering where appropriate.
Diffstat (limited to 'tests/data/test1356')
-rw-r--r-- | tests/data/test1356 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/data/test1356 b/tests/data/test1356 index 9ac193b8e..55cbbea81 100644 --- a/tests/data/test1356 +++ b/tests/data/test1356 @@ -41,6 +41,9 @@ CURL_TESTDIR=%PWD/log <command option="no-output,no-include"> ftp://%HOSTIP:%FTPPORT/path/file1356 -O </command> +<postcheck> +perl %SRCDIR/libtest/notexists.pl %PWD/log/name1356 +</postcheck> </client> # Verify data after the test has been "shot" @@ -69,14 +72,8 @@ Content-Disposition: filename=name1356; charset=funny; option=strange MOOOO </file1> -<file2 name="log/heads1356"> +<file2 name="log/stdout1356"> </file2> -<file3 name="log/stdout1356"> -</file3> - -<file4 name="log/name1356"> -</file4> - </verify> </testcase> |