X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F14_control_at_submit.t;h=950d1a973a4bccc9151fafeb6c13dabb9e080c74;hb=refs%2Fheads%2Fdebian;hp=6688f53c97aa8d1f78d15aab202d3115098d376a;hpb=530fa81af8a7dd6319009bc5be7d6e70ff427473;p=debbugs.git diff --git a/t/14_control_at_submit.t b/t/14_control_at_submit.t index 6688f53..950d1a9 100644 --- a/t/14_control_at_submit.t +++ b/t/14_control_at_submit.t @@ -26,25 +26,14 @@ use Encode qw(decode encode); # 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.