From ed89527badaa356b911cdb96b7835676494e6225 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Thu, 8 Jul 2010 00:47:26 +0200 Subject: [PATCH] Testsuite: improved test for fileinto with non-existent mailbox. --- tests/execute/errors.svtest | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/execute/errors.svtest b/tests/execute/errors.svtest index a6f4cfe3a..383df8b4c 100644 --- a/tests/execute/errors.svtest +++ b/tests/execute/errors.svtest @@ -92,15 +92,19 @@ test "Fileinto missing folder" { test_fail "execution failed"; } - if test_result_execute { - test_fail "execution of result should have failed"; - } + if test_result_execute { + test_fail "execution of result should have failed"; + } if test_error :count "gt" :comparator "i;ascii-numeric" "1" { test_fail "too many runtime errors reported"; } - -/* if not test_error :index 1 :contains "number of redirect actions exceeds policy limit"{ + + if not allof ( + test_error :index 1 :contains "failed to store into mailbox", + test_error :index 1 :contains "exist", + test_error :index 1 :contains "FROP") { test_fail "unexpected error reported"; - }*/ + } } + -- GitLab