summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-18 18:03:51 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-18 18:03:51 +0100
commita108e3eae2841ec938041460bcb201e15131c17f (patch)
tree0c96cbad3c86f8c4b2640583f4299111fc8e5d00 /test/scripts
parent766e7a65f0fcb236afb7d8ad79db5f340b5d3b83 (diff)
Testsuite: split out tests requiring IPv6
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/4000-scanning/40092
-rw-r--r--test/scripts/4010-scan-ipv6/401060
-rw-r--r--test/scripts/4010-scan-ipv6/REQUIRES2
-rw-r--r--test/scripts/4016-scan-external/4016 (renamed from test/scripts/4010-scan-external/4010)0
-rw-r--r--test/scripts/4016-scan-external/REQUIRES (renamed from test/scripts/4010-scan-external/REQUIRES)0
-rw-r--r--test/scripts/5800-DANE/REQUIRES2
6 files changed, 64 insertions, 2 deletions
diff --git a/test/scripts/4000-scanning/4009 b/test/scripts/4000-scanning/4009
index 50f5ff990..9c72a8222 100644
--- a/test/scripts/4000-scanning/4009
+++ b/test/scripts/4000-scanning/4009
@@ -222,7 +222,7 @@ server 7833
>
*eof
****
-exim -odi -bs -DOPT='<; 127.0.0.1 7833 ; ::1 7834 pri=2 tmo=2s'
+exim -odi -bs -DOPT='<; 127.0.0.1 7833 ; 127.0.0.2 7834 pri=2 tmo=2s'
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
diff --git a/test/scripts/4010-scan-ipv6/4010 b/test/scripts/4010-scan-ipv6/4010
new file mode 100644
index 000000000..66db933e6
--- /dev/null
+++ b/test/scripts/4010-scan-ipv6/4010
@@ -0,0 +1,60 @@
+# content scan interface: spamassassin / ipv6
+#
+# Multiple servers, prioritised, with timeout spec; first one fails
+# List separator changed
+server 7833
+<REPORT SPAMC
+<User:
+<Content-length:
+<
+<From
+<X-Envelope-From
+<X-Envelope-To
+<Received:
+< by
+< (envelope
+< id
+< for
+<Content-type: text/plain
+<Message-Id:
+<From:
+<Date:
+<
+<test
+>SPAMD/1.1 0 EX_OK
+>Spam: False ; 4.5 / 5.0
+>
+>Spam detection software, running on the system "demo",
+>has NOT identified this incoming email as spam. The original
+>message has been attached to this so you can view it or label
+>similar future email. If you have any questions, see
+>@@CONTACT_ADDRESS@@ for details.
+>
+>Content preview: test [...]
+>
+>Content analysis details: (4.5 points, 5.0 required)
+>
+> pts rule name description
+>---- ---------------------- --------------------------------------------------
+>-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
+> 1.2 MISSING_HEADERS Missing To: header
+> 1.0 MISSING_FROM Missing From: header
+> 1.8 MISSING_SUBJECT Missing Subject: header
+> 1.4 MISSING_DATE Missing Date: header
+> 0.1 MISSING_MID Missing Message-Id: header
+>
+*eof
+****
+exim -odi -bs -DOPT='<; 127.0.0.1 7833 ; ::1 7834 pri=2 tmo=2s'
+ehlo test.ex
+mail from:<>
+rcpt to:<userx@test.ex>
+data
+Content-type: text/plain
+
+test
+.
+quit
+****
+#
+#
diff --git a/test/scripts/4010-scan-ipv6/REQUIRES b/test/scripts/4010-scan-ipv6/REQUIRES
new file mode 100644
index 000000000..927190137
--- /dev/null
+++ b/test/scripts/4010-scan-ipv6/REQUIRES
@@ -0,0 +1,2 @@
+support Content_Scanning
+support IPv6
diff --git a/test/scripts/4010-scan-external/4010 b/test/scripts/4016-scan-external/4016
index 6f66b27ae..6f66b27ae 100644
--- a/test/scripts/4010-scan-external/4010
+++ b/test/scripts/4016-scan-external/4016
diff --git a/test/scripts/4010-scan-external/REQUIRES b/test/scripts/4016-scan-external/REQUIRES
index 3f002958c..3f002958c 100644
--- a/test/scripts/4010-scan-external/REQUIRES
+++ b/test/scripts/4016-scan-external/REQUIRES
diff --git a/test/scripts/5800-DANE/REQUIRES b/test/scripts/5800-DANE/REQUIRES
index 2314a3236..e6a22bec3 100644
--- a/test/scripts/5800-DANE/REQUIRES
+++ b/test/scripts/5800-DANE/REQUIRES
@@ -1,2 +1,2 @@
support Experimental_DANE
-running IPv4
+lookup dnsdb