summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-09-05 10:31:57 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-09-05 14:44:53 +0100
commit3462da30c9c57e63705fa24121655a32b315dfcf (patch)
tree09928620fb8ffc8a939aee743117967b753e779f /test/scripts
parent40fa69f0f370146d9b85dfc5990b612b6d9d1ce9 (diff)
Support TTL from SOA for NXDOMAIN & NODATA cache entries for dnslists. Bug 1395
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/004413
1 files changed, 12 insertions, 1 deletions
diff --git a/test/scripts/0000-Basic/0044 b/test/scripts/0000-Basic/0044
index 90870b700..0286aed69 100644
--- a/test/scripts/0000-Basic/0044
+++ b/test/scripts/0000-Basic/0044
@@ -1,9 +1,13 @@
# RBL blocking (unregistered host)
-exim -bh V4NET.11.12.13
+#
+# The list2 checks the dnslist layer positive caching
+# We cannot check the cache ttl because -bh defeats delays
+exim -d -bh V4NET.11.12.13
ehlo exim.test.ex
mail from:postmaster@exim.test.ex
rcpt to:<postmaster@exim.test.ex>
rcpt to:list@exim.test.ex
+rcpt to:list2@exim.test.ex
data
test data
.
@@ -18,4 +22,11 @@ test data
.
quit
****
+#
+# check negative-cache ttl
+exim -d -bh V4NET.99.99.99
+ehlo exim.test.ex
+mail from:postmaster@exim.test.ex
+rcpt to:list@exim.test.ex
+****
no_msglog_check