~ubuntu-branches/ubuntu/utopic/spamassassin/utopic-updates

« back to all changes in this revision

Viewing changes to t/sa_check_spamd.t

  • Committer: Package Import Robot
  • Author(s): Noah Meyerhans
  • Date: 2014-02-14 22:45:15 UTC
  • mfrom: (0.8.1) (0.6.2) (5.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20140214224515-z1es2twos8xh7n2y
Tags: 3.4.0-1
* New upstream version! (Closes: 738963, 738872, 738867)
* Scrub the environment when switching to the debian-spamd user in
  postinst and cron.daily. (Closes: 738951)
* Enhancements to postinst to better manage ownership of
  /var/lib/spamassassin, via Iain Lane <iain.lane@canonical.com>
  (Closes: 738974)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
ok_all_patterns();
22
22
 
23
23
my $p = $spamdport;
24
 
system("../sa-check_spamd --hostname 127.0.0.1 --port $p --verbose");
 
24
system("../sa-check_spamd --hostname $spamdhost --port $p --verbose");
25
25
ok (($? >> 8) == 0);
26
26
 
27
27
ok(stop_spamd());
28
28
 
29
 
system("../sa-check_spamd --hostname 127.0.0.1 --port $p --verbose");
 
29
system("../sa-check_spamd --hostname $spamdhost --port $p --verbose");
30
30
ok (($? >> 8) != 0);