X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F10_expire.t;h=311b9b374034cd501befb7cc79fd11523693eaa3;hb=ab5672e5c53a0b735b64f59fd7f060f787a7e91c;hp=fef4094dd6cf4d1cdbbfb096e4108b1a4f556aec;hpb=a40fd8e928b333287f7f52f590c8e2d0c2f90821;p=debbugs.git diff --git a/t/10_expire.t b/t/10_expire.t index fef4094..311b9b3 100644 --- a/t/10_expire.t +++ b/t/10_expire.t @@ -25,13 +25,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};