From 416178e75784386fe785fd00433bffa5235bbef6 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 9 Jun 2017 12:34:15 -0700 Subject: [PATCH] pkgreport does not require common.pl; remove cd --- t/08_pkgreport.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.2