From: lpsolit%gmail.com <> Date: Fri, 12 Jan 2007 05:26:48 +0000 (+0000) Subject: Bug 366624: testserver.pl fails to find the GID for the httpd process - Patch by... X-Git-Tag: bugzilla-2.23.4~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3e13e1e515c53877bc61b59b9bed1f975fc5cba;p=thirdparty%2Fbugzilla.git Bug 366624: testserver.pl fails to find the GID for the httpd process - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/testserver.pl b/testserver.pl index 9c12b95733..af4ba67e75 100755 --- a/testserver.pl +++ b/testserver.pl @@ -21,7 +21,13 @@ use strict; use lib "."; -use Bugzilla; +BEGIN { + my $envpath = $ENV{'PATH'}; + require Bugzilla; + # $ENV{'PATH'} is required by the 'ps' command to run correctly. + $ENV{'PATH'} = $envpath; +} + use Bugzilla::Constants; use Socket;