From b3e13e1e515c53877bc61b59b9bed1f975fc5cba Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Jan 2007 05:26:48 +0000 Subject: Bug 366624: testserver.pl fails to find the GID for the httpd process - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testserver.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'testserver.pl') diff --git a/testserver.pl b/testserver.pl index 9c12b9573..af4ba67e7 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; -- cgit v1.2.3-24-g4f1b