From: Don Armstrong Date: Sun, 20 May 2007 10:36:52 +0000 (-0700) Subject: add configuration test script X-Git-Tag: release/2.6.0~565^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cfb6d627296a0469a93004afbf137f4ad739db6e;p=debbugs.git add configuration test script --- diff --git a/t/03_configuration.t b/t/03_configuration.t new file mode 100644 index 0000000..cf7d3a9 --- /dev/null +++ b/t/03_configuration.t @@ -0,0 +1,13 @@ +# -*- mode: cperl;-*- + +use Test::More tests => 6; + +use warnings; +use strict; + +BEGIN{use_ok('Debbugs::Config',qw(:globals %config));} +ok($config{sendmail} eq '/usr/lib/sendmail', 'sendmail configuration set sanely'); +ok($config{spam_scan} == 0, 'spam_scan set to 0 by default'); +ok($gSendmail eq '/usr/lib/sendmail','sendmail global works'); +ok($gSpamScan == 0 , 'spam_scan global works'); +ok(defined $gStrongList,'strong_list global works');