]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/10_expire.t
create_config now calls BAIL_OUT on its own
[debbugs.git] / t / 10_expire.t
index fef4094dd6cf4d1cdbbfb096e4108b1a4f556aec..311b9b374034cd501befb7cc79fd11523693eaa3 100644 (file)
@@ -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};