~clint-fewbar/ubuntu/hardy/spamassassin/remove-open-whois

« back to all changes in this revision

Viewing changes to t/spamc_z.t

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2007-06-13 11:33:36 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070613113336-icdflw7kthep7ptm
Tags: 3.2.1-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/control:
    + Replace libmail-spf-query-perl Recommends with Depends on
      libmail-spf-perl for spamassassin binary.
    + Bump required version for libnet-dns-perl to (>= 0.58) due
      to libmail-spf-perl requirements.
    + Change Maintainer/XSBC-Original-Maintainer field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
use lib '.'; use lib 't';
6
6
use SATest; sa_t_init("spamc_z");
7
 
use Test; plan tests => (($SKIP_SPAMD_TESTS || !HAVE_ZLIB) ? 0 : 9);
8
 
 
9
 
exit if ($SKIP_SPAMD_TESTS || !HAVE_ZLIB);
 
7
 
 
8
system("$spamc -z < /dev/null");
 
9
my $SPAMC_Z_AVAILABLE = ($? >> 8 == 0);
 
10
 
 
11
use Test;
 
12
plan tests => (($SKIP_SPAMD_TESTS || !HAVE_ZLIB || !$SPAMC_Z_AVAILABLE) ? 0 : 9);
 
13
exit if ($SKIP_SPAMD_TESTS || !HAVE_ZLIB || !$SPAMC_Z_AVAILABLE);
10
14
 
11
15
# ---------------------------------------------------------------------------
12
16