]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 254146: make the error message clear if servertest.pl failed to find...
authorjocuri%softhome.net <>
Sat, 28 Aug 2004 16:06:16 +0000 (16:06 +0000)
committerjocuri%softhome.net <>
Sat, 28 Aug 2004 16:06:16 +0000 (16:06 +0000)
testserver.pl

index a2bd2965629a43ec68fe008b00febc1d0ba47d91..3ce9f598bfd975a2b0c504bb4122b8c69a7e5e7c 100755 (executable)
@@ -43,7 +43,7 @@ if ($^O !~ /MSWin32/i) {
     foreach my $pscmd (@pscmds) {
         open PH, "$pscmd 2>/dev/null |";
         while (my $line = <PH>) {
-            if ($line =~ /^(?:\S*\/)?httpd\s+(\d+)$/) {
+            if ($line =~ /^(?:\S*\/)?(?:httpd|apache)\s+(\d+)$/) {
                 $sgid = $1 if $1 > $sgid;
             }
         }
@@ -76,7 +76,9 @@ Please refer to the webserver configuration section of the Bugzilla guide.
 If you are using virtual hosts or suexec, this warning may not apply.\n";
     }
 } elsif ($^O !~ /MSWin32/i) {
-   print "TEST-???? Could not identify group webserver is using.\n";
+   print
+"TEST-WARNING Failed to find the GID for the 'httpd' process, unable
+to validate webservergroup.\n";
 }