X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F07_control_limit.t;h=ae3e98aa87f60c19dea12344d806e1a31c85f82e;hb=ee73b48c52cedb53381b6c0291693fa1e2a66d2c;hp=1283223a4b3ed35802c87e41c7e89b7a33121eb5;hpb=a40fd8e928b333287f7f52f590c8e2d0c2f90821;p=debbugs.git diff --git a/t/07_control_limit.t b/t/07_control_limit.t index 1283223..ae3e98a 100644 --- a/t/07_control_limit.t +++ b/t/07_control_limit.t @@ -24,13 +24,8 @@ 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(); -}; -if ($@) { - BAIL_OUT($@); -} +my %config = create_debbugs_configuration(); + my $sendmail_dir = $config{sendmail_dir}; my $spool_dir = $config{spool_dir};