You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2022/05/05 17:39:36 UTC
svn commit: r1900596 - /spamassassin/trunk/t/spamd_ssl_z.t
Author: hege
Date: Thu May 5 17:39:36 2022
New Revision: 1900596
URL: http://svn.apache.org/viewvc?rev=1900596&view=rev
Log:
Fix HAVE_ZLIB
Modified:
spamassassin/trunk/t/spamd_ssl_z.t
Modified: spamassassin/trunk/t/spamd_ssl_z.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spamd_ssl_z.t?rev=1900596&r1=1900595&r2=1900596&view=diff
==============================================================================
--- spamassassin/trunk/t/spamd_ssl_z.t (original)
+++ spamassassin/trunk/t/spamd_ssl_z.t Thu May 5 17:39:36 2022
@@ -3,6 +3,8 @@
use lib '.'; use lib 't';
use SATest; sa_t_init("spamd_ssl_z");
+use constant HAVE_ZLIB => eval { require Compress::Zlib; };
+
untaint_system("$spamc -z < /dev/null");
my $SPAMC_Z_AVAILABLE = ($? >> 8 == 0);