Mailing List Archive

svn commit: r487207 - /spamassassin/trunk/t/spf.t
Author: jm
Date: Thu Dec 14 05:45:03 2006
New Revision: 487207

URL: http://svn.apache.org/viewvc?view=rev&rev=487207
Log:
ensure spf.t passes with just the old Mail::SPF::Query module, and not Mail::SPF, installed

Modified:
spamassassin/trunk/t/spf.t

Modified: spamassassin/trunk/t/spf.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spf.t?view=diff&rev=487207&r1=487206&r2=487207
==============================================================================
--- spamassassin/trunk/t/spf.t (original)
+++ spamassassin/trunk/t/spf.t Thu Dec 14 05:45:03 2006
@@ -454,7 +454,11 @@
);

sarun ("-t < data/nice/spf3-received-spf", \&patterns_run_cb);
-ok_all_patterns();
+if (!HAS_MAILSPF) {
+ skip_all_patterns("this test requires Mail::SPF module");
+} else {
+ ok_all_patterns();
+}


# test usage of Received-SPF headers added by internal relays
@@ -476,5 +480,10 @@
);

sarun ("-t < data/nice/spf3-received-spf", \&patterns_run_cb);
-ok_all_patterns();
+
+if (!HAS_MAILSPF) {
+ skip_all_patterns("this test requires Mail::SPF module");
+} else {
+ ok_all_patterns();
+}