diff options
author | lpsolit%gmail.com <> | 2007-01-12 06:26:48 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-01-12 06:26:48 +0100 |
commit | b3e13e1e515c53877bc61b59b9bed1f975fc5cba (patch) | |
tree | 062614f52cfce916afd7a4dc95c92bc52fb6f2a7 /testserver.pl | |
parent | ac7671d0b1fad018fa7a7b4ea5de2c062390a9dc (diff) | |
download | bugzilla-b3e13e1e515c53877bc61b59b9bed1f975fc5cba.tar.gz bugzilla-b3e13e1e515c53877bc61b59b9bed1f975fc5cba.tar.xz |
Bug 366624: testserver.pl fails to find the GID for the httpd process - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'testserver.pl')
-rwxr-xr-x | testserver.pl | 8 |
1 files changed, 7 insertions, 1 deletions
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; |