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/05/12 06:41:25 UTC

svn commit: r169760 - in /spamassassin/trunk: spamc/spamc.h.in t/regexp_valid.t

Author: jm
Date: Wed May 11 21:41:23 2005
New Revision: 169760

URL: http://svn.apache.org/viewcvs?rev=169760&view=rev
Log:
oops, forgot a file

Added:
    spamassassin/trunk/spamc/spamc.h.in
Modified:
    spamassassin/trunk/t/regexp_valid.t

Added: spamassassin/trunk/spamc/spamc.h.in
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/spamc/spamc.h.in?rev=169760&view=auto
==============================================================================
--- spamassassin/trunk/spamc/spamc.h.in (added)
+++ spamassassin/trunk/spamc/spamc.h.in Wed May 11 21:41:23 2005
@@ -0,0 +1,2 @@
+#define CONFIG_FILE "@sysconfdir@/spamc.conf"
+#define PREFIX "@prefix@"

Modified: spamassassin/trunk/t/regexp_valid.t
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/t/regexp_valid.t?rev=169760&r1=169759&r2=169760&view=diff
==============================================================================
--- spamassassin/trunk/t/regexp_valid.t (original)
+++ spamassassin/trunk/t/regexp_valid.t Wed May 11 21:41:23 2005
@@ -24,7 +24,7 @@
 use vars qw(%patterns %anti_patterns);
 
 # settings
-plan tests => 22;
+plan tests => 24;
 
 # initialize SpamAssassin
 my $sa = create_saobj({'dont_copy_prefs' => 1});
@@ -58,4 +58,7 @@
 ok !tryone 'foo(?{1})bar';
 ok !tryone '/foo(?{1})bar/';
 ok !tryone 'm!foo(?{1})bar!';
+
+ok !tryone '/test//';
+ok tryone '.*';