X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F07_bugreport.t;h=fbbb09fdd6a1600be859908e6ce0d07646cd2850;hb=1e6633a3780f4fd53fc4303852e84d13cdad2dc6;hp=dfc1650c2dfd954df7249cc2f191c7cb6b068072;hpb=466f7faff129a5699c7674f59900a92aa256175d;p=debbugs.git diff --git a/t/07_bugreport.t b/t/07_bugreport.t index dfc1650..fbbb09f 100644 --- a/t/07_bugreport.t +++ b/t/07_bugreport.t @@ -48,7 +48,7 @@ my $bugreport_cgi_handler = sub { # I do not understand why this is necessary. $ENV{DEBBUGS_CONFIG_FILE} = "$config{config_dir}/debbugs_config"; my $fh; - open($fh,'-|',-e './cgi/version.cgi'? 'perl -I. -T ./cgi/bugreport.cgi' : 'perl -I. -T ../cgi/bugreport.cgi'); + open($fh,'-|',-e './cgi/version.cgi'? 'perl -Ilib -T ./cgi/bugreport.cgi' : 'perl -Ilib -T ../cgi/bugreport.cgi'); my $headers; my $status = 200; while (<$fh>) {