summaryrefslogtreecommitdiff
path: root/test/scripts/4000-scanning/4008
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-19 19:13:58 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-19 19:13:58 +0100
commit35deab6a4e72f25219fa7989be018f39f46a2276 (patch)
tree47daa1e3e46d80d58af6e51be2646ce9010cd75a /test/scripts/4000-scanning/4008
parentb8fc75b3728d523ae83d02de92e1cfb002d25c9d (diff)
Testsuite: fix content-scanner interface tests
Diffstat (limited to 'test/scripts/4000-scanning/4008')
-rw-r--r--test/scripts/4000-scanning/40089
1 files changed, 8 insertions, 1 deletions
diff --git a/test/scripts/4000-scanning/4008 b/test/scripts/4000-scanning/4008
index c44b93854..703a7c2aa 100644
--- a/test/scripts/4000-scanning/4008
+++ b/test/scripts/4000-scanning/4008
@@ -1,4 +1,9 @@
# content scan interface: rspamd
+#
+# The spooled file for scanning includes the test-runner's user name
+# hence size varies. Munge that.
+munge scanfile_size
+#
server 11333
<CHECK RSPAMC/1.3
<Content-length:
@@ -17,9 +22,10 @@ server 11333
< (envelope
< id
< for
+<From:
<Content-type: text/plain
<Message-Id:
-<From:
+<Sender:
<Date:
<
<test
@@ -36,6 +42,7 @@ ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
+From: MAILER_DAEMON <>
Content-type: text/plain
test