From 35deab6a4e72f25219fa7989be018f39f46a2276 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 19 Apr 2015 19:13:58 +0100 Subject: Testsuite: fix content-scanner interface tests --- test/scripts/4000-scanning/4008 | 9 ++++++++- test/scripts/4000-scanning/4009 | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'test/scripts') 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 rcpt to: data +From: MAILER_DAEMON <> Content-type: text/plain test diff --git a/test/scripts/4000-scanning/4009 b/test/scripts/4000-scanning/4009 index 9c72a8222..0fb96ac16 100644 --- a/test/scripts/4000-scanning/4009 +++ b/test/scripts/4000-scanning/4009 @@ -1,5 +1,10 @@ # content scan interface: spamassassin # +# The spooled file for scanning includes the test-runner's user name +# hence size varies. Munge that. +munge scanfile_size +# +# # A good-comms test, returning not-spam. # (we could use a second one that returns is-spam...) server 7833 -- cgit v1.2.3