Closed Bug 277210 Opened 20 years ago Closed 20 years ago

Testserver.pl should find apache2/httpd2 as well when it looks for webservers

Categories

(Bugzilla :: Testing Suite, defect)

2.19.1
All
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: bugreport, Assigned: kieran)

Details

Attachments

(1 file, 2 obsolete files)

testserver.pl misses "apache2" when it looks for "httpd" or "apache"
[Sun 22:31:10] <kieran> Hi, I changed the testserver.pl script to have
httpd|apache|apache2 and it worked fine.
[Sun 22:31:22] <kieran> thanks
This is a simple check to see if the Web Server is working.  Currently it
doesn't check for Apache2 and it probably should.  I added an additional OR
statement so the test passes.
Attachment #170789 - Flags: review?
Removed the whole file, and added a diff.
Attachment #170789 - Attachment is obsolete: true
Attachment #170792 - Flags: review?
Attachment #170789 - Flags: review?
I'd also recommend adding httpd2 as thats what my install of Apache from
Mandrake 10.0 seems to be running as.
Comment on attachment 170792 [details] [diff] [review]
Added OR statement to include Apache2 as a webserver to be checked for to see if Bugzilla is running

r=wurblzap by inspection.

It's new to me that Apache uses apache2, but what do I know :)
Attachment #170792 - Flags: review? → review+
Assignee: zach → kieran
Flags: approval?
Whiteboard: patch awaiting approval
(In reply to comment #4)
> I'd also recommend adding httpd2 as thats what my install of Apache from
> Mandrake 10.0 seems to be running as.

Whoa, I missed that comment. Please do indeed so, and move r+ forward.
Whiteboard: patch awaiting approval
Targeting bug to 2.20 since the 2.20 feature freeze was canceled.
Target Milestone: --- → Bugzilla 2.20
This hopefully (it detects my httpd2 and an apache on knoppix) allows it to
detect both httpd2 and apache2 as well as the original.
Attachment #171378 - Flags: review?
Comment on attachment 171378 [details] [diff] [review]
Detect apache2/httpd2 as well

Looks good upon my review, but also carrying over the previous review :-)
Attachment #171378 - Flags: review? → review+
Flags: approval? → approval+
Checking in testserver.pl;
/cvsroot/mozilla/webtools/bugzilla/testserver.pl,v  <--  testserver.pl
new revision: 1.4; previous revision: 1.3
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Summary: Testserver.pl should find "apache2" when it looks for webservers → Testserver.pl should find apache2/httpd2 as well when it looks for webservers
Flags: approval2.18+
Target Milestone: Bugzilla 2.20 → Bugzilla 2.18
Comment on attachment 170792 [details] [diff] [review]
Added OR statement to include Apache2 as a webserver to be checked for to see if Bugzilla is running

Marking this patch obsolete.
Attachment #170792 - Attachment is obsolete: true
Checking in testserver.pl;
/cvsroot/mozilla/webtools/bugzilla/testserver.pl,v  <--  testserver.pl
new revision: 1.1.2.3; previous revision: 1.1.2.2
done
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: