X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F06_mail_handling.t;h=0e42ed03f5ea1e97972c13507be19269c6db3e9a;hb=1c4ce01f78b112c2247a08f1a0dc9efb5ab3adca;hp=f0b2b375c9ef6db564e7c8b58daf983751bdfc93;hpb=a40fd8e928b333287f7f52f590c8e2d0c2f90821;p=debbugs.git diff --git a/t/06_mail_handling.t b/t/06_mail_handling.t index f0b2b37..0e42ed0 100644 --- a/t/06_mail_handling.t +++ b/t/06_mail_handling.t @@ -26,13 +26,8 @@ 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(); -}; -if ($@) { - BAIL_OUT($@); -} +my %config = create_debbugs_configuration(); + my $sendmail_dir = $config{sendmail_dir}; my $spool_dir = $config{spool_dir};