From cfb6d627296a0469a93004afbf137f4ad739db6e Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 20 May 2007 03:36:52 -0700 Subject: [PATCH] add configuration test script --- t/03_configuration.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 t/03_configuration.t 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'); -- 2.39.2