X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=inline;f=t%2F07_control_limit.t;h=ae3e98aa87f60c19dea12344d806e1a31c85f82e;hb=393d46c856b6954a4b96a77e873fa345ae9e0cb6;hp=02cfc3747727c796d803e2260268d7061d5be020;hpb=fd28ccea72e13b7e2dd7323af7c0cbaad9bb6663;p=debbugs.git diff --git a/t/07_control_limit.t b/t/07_control_limit.t index 02cfc37..ae3e98a 100644 --- a/t/07_control_limit.t +++ b/t/07_control_limit.t @@ -24,25 +24,14 @@ use Data::Dumper; # HTTP::Server:::Simple defines a SIG{CHLD} handler that breaks system; undef it here. $SIG{CHLD} = sub {}; -my %config; -eval { - %config = create_debbugs_configuration(debug => exists $ENV{DEBUG}?$ENV{DEBUG}:0); -}; -if ($@) { - BAIL_OUT($@); -} +my %config = create_debbugs_configuration(); + my $sendmail_dir = $config{sendmail_dir}; my $spool_dir = $config{spool_dir}; my $config_dir = $config{config_dir}; -END{ - if ($ENV{DEBUG}) { - diag("spool_dir: $spool_dir\n"); - diag("config_dir: $config_dir\n"); - diag("sendmail_dir: $sendmail_dir\n"); - } -} + # We're going to use create mime message to create these messages, and # then just send them to receive.