X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F08_pkgreport.t;h=eabee529287c12b14c880f466dc26fa399b13390;hb=refs%2Fheads%2Fdebian;hp=745e35dd4b80b857c306bd654f3fbab6a382c1eb;hpb=ab5672e5c53a0b735b64f59fd7f060f787a7e91c;p=debbugs.git diff --git a/t/08_pkgreport.t b/t/08_pkgreport.t index 745e35d..eabee52 100644 --- a/t/08_pkgreport.t +++ b/t/08_pkgreport.t @@ -46,8 +46,7 @@ EOF my $pkgreport_cgi_handler = sub { # I do not understand why this is necessary. $ENV{DEBBUGS_CONFIG_FILE} = "$config{config_dir}/debbugs_config"; - # We cd here because pkgreport uses require ./common.pl - my $content = qx(cd cgi; perl -I.. -T pkgreport.cgi); + my $content = qx(perl -I. -T cgi/pkgreport.cgi); # Strip off the Content-Type: stuff $content =~ s/^\s*Content-Type:[^\n]+\n*//si; print $content;