dovecot-2.0-pigeonhole: Testsuite: improved test for fileinto wi...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Thu Jul 8 01:47:44 EEST 2010
details: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/94ff6b42c1bd
changeset: 1321:94ff6b42c1bd
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Jul 08 00:47:26 2010 +0200
description:
Testsuite: improved test for fileinto with non-existent mailbox.
diffstat:
tests/execute/errors.svtest | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 703f82bb2b09 -r 94ff6b42c1bd tests/execute/errors.svtest
--- a/tests/execute/errors.svtest Thu Jul 08 00:06:42 2010 +0200
+++ b/tests/execute/errors.svtest Thu Jul 08 00:47:26 2010 +0200
@@ -92,15 +92,19 @@
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";
- }*/
+ }
}
+
More information about the dovecot-cvs
mailing list