You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/07/13 03:05:13 UTC

svn commit: r216071 - /spamassassin/trunk/t/metadata.t

Author: jm
Date: Tue Jul 12 18:05:11 2005
New Revision: 216071

URL: http://svn.apache.org/viewcvs?rev=216071&view=rev
Log:
hmm.  I guess patch doesn't know how to do an 'svn add'.

Added:
    spamassassin/trunk/t/metadata.t

Added: spamassassin/trunk/t/metadata.t
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/metadata.t?rev=216071&view=auto
==============================================================================
--- spamassassin/trunk/t/metadata.t (added)
+++ spamassassin/trunk/t/metadata.t Tue Jul 12 18:05:11 2005
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+
+use lib '.'; use lib 't';
+use SATest; sa_t_init("metadata");
+use Test; BEGIN { plan tests => 3 };
+
+# ---------------------------------------------------------------------------
+
+%patterns = (
+
+q{ GTUBE }, 'gtube',
+q{ META_FOUND }, 'META_FOUND',
+
+);
+
+tstlocalrules ("
+        loadplugin myTestPlugin ../../data/testplugin.pm
+        header META_FOUND	Plugin-Meta-Test =~ /bar/
+");
+
+ok (sarun ("-D -L -t < data/spam/gtube.eml", \&patterns_run_cb));
+ok_all_patterns();
+



Re: svn commit: r216071 - /spamassassin/trunk/t/metadata.t

Posted by Michael Parker <pa...@pobox.com>.
jm@apache.org wrote:

>+
>+ok (sarun ("-D -L -t < data/spam/gtube.eml", \&patterns_run_cb));
>+ok_all_patterns();
>+
>
>  
>

Did you mean to leave the -D in there?

Michael