X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F11_blocks.t;h=72f7c35b687e6f93e0893c9583950306c425b46c;hb=1c4ce01f78b112c2247a08f1a0dc9efb5ab3adca;hp=5e277cdb4147ae18e1aa38c82afbae45fa4fbd62;hpb=a40fd8e928b333287f7f52f590c8e2d0c2f90821;p=debbugs.git diff --git a/t/11_blocks.t b/t/11_blocks.t index 5e277cd..72f7c35 100644 --- a/t/11_blocks.t +++ b/t/11_blocks.t @@ -25,13 +25,8 @@ 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(); -}; -if ($@) { - BAIL_OUT($@); -} +my %config = create_debbugs_configuration(); + my $sendmail_dir = $config{sendmail_dir}; my $spool_dir = $config{spool_dir};