From b3e13e1e515c53877bc61b59b9bed1f975fc5cba Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Jan 2007 05:26:48 +0000 Subject: [PATCH] =?utf8?q?Bug=20366624:=20testserver.pl=20fails=20to=20fin?= =?utf8?q?d=20the=20GID=20for=20the=20httpd=20process=20-=20Patch=20by=20F?= =?utf8?q?r=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r?= =?utf8?q?/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- testserver.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; -- 2.47.2