X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F11_blocks.t;h=72f7c35b687e6f93e0893c9583950306c425b46c;hb=refs%2Fheads%2Fdebian;hp=11c765ac5cdaaebf07d69b503eb694db9dd87551;hpb=6ce4d79d48f520bb4936ec99e78bcd706539f18b;p=debbugs.git diff --git a/t/11_blocks.t b/t/11_blocks.t index 11c765a..72f7c35 100644 --- a/t/11_blocks.t +++ b/t/11_blocks.t @@ -25,25 +25,14 @@ use Test::WWW::Mechanize; # 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.