From 34fab493f633baf3f0013f0d07cdc64fc93c19f4 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Fri, 14 Jul 2006 14:06:44 +0000 Subject: [PATCH 1/1] Add test for negated item as a retry rule pattern. --- test/confs/0099 | 3 ++- test/scripts/0000-Basic/0099 | 2 ++ test/stdout/0099 | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/confs/0099 b/test/confs/0099 index e35ad5fcf..ebd6e8915 100644 --- a/test/confs/0099 +++ b/test/confs/0099 @@ -54,6 +54,7 @@ rcpt4xx.test.ex rcpt_4xx F,10d,1m *@@ * F,5d,6m lsearch*@;DIR/aux-fixed/TESTNUM.rlist * F,1d,3m *.star.ex * F,3d,10m -* * F,2d,15m +!*.not.ex * F,2d,15m +* * F,12d,150m # End diff --git a/test/scripts/0000-Basic/0099 b/test/scripts/0000-Basic/0099 index d770eef54..c615c1ca8 100644 --- a/test/scripts/0000-Basic/0099 +++ b/test/scripts/0000-Basic/0099 @@ -39,3 +39,5 @@ exim -f "" -brt x@Q.abcd.ex **** exim -f "d@e.f" -brt x@Q.abcd.ex **** +exim -brt x@not.not.ex +**** diff --git a/test/stdout/0099 b/test/stdout/0099 index 2cb1e2437..729af365d 100644 --- a/test/stdout/0099 +++ b/test/stdout/0099 @@ -9,7 +9,7 @@ first failed = time last try = time2 next try = time2 + 60 first failed = time last try = time2 next try = time2 + 60 Retry rule: *.star.ex * F,3d,10m; Retry rule: lsearch*@;TESTSUITE/aux-fixed/0099.rlist * F,1d,3m; -Retry rule: * * F,2d,15m; +Retry rule: !*.not.ex * F,2d,15m; Retry rule: *@\N^\d * F,5d,1m; Retry rule: *@*.abcd.ex * F,5d,2m; Retry rule: *@literal.ex * F,5d,3m; @@ -21,3 +21,4 @@ Retry rule: rcpt45x.test.ex * F,1w3d,2m; Retry rule: rcpt463.test.ex * F,1w3d,3m; Retry rule: * * G,1d,1m,1.5; Retry rule: * * G,2d,2m,1.5; +Retry rule: * * F,1w5d,2h30m; -- 2.30.2