X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F10_expire.t;h=311b9b374034cd501befb7cc79fd11523693eaa3;hb=ab5672e5c53a0b735b64f59fd7f060f787a7e91c;hp=502feeada5bce56b50828dfe02d834226193cf20;hpb=1474e155834038b1afe42ec1a99f863d8f3647cd;p=debbugs.git diff --git a/t/10_expire.t b/t/10_expire.t index 502feea..311b9b3 100644 --- a/t/10_expire.t +++ b/t/10_expire.t @@ -25,25 +25,14 @@ 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(debug => exists $ENV{DEBUG}?$ENV{DEBUG}:0); -}; -if ($@) { - BAIL_OUT($@); -} +my %config = create_debbugs_configuration(); + my $sendmail_dir = $config{sendmail_dir}; my $spool_dir = $config{spool_dir}; my $config_dir = $config{config_dir}; -END{ - if ($ENV{DEBUG}) { - diag("spool_dir: $spool_dir\n"); - diag("config_dir: $config_dir\n"); - diag("sendmail_dir: $sendmail_dir\n"); - } -} + # We're going to use create mime message to create these messages, and # then just send them to receive.