Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3749314
D1826.id4620.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1826.id4620.diff
View Options
diff --git a/YsulApacheTest.php b/YsulApacheTest.php
deleted file mode 100644
--- a/YsulApacheTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-require_once 'traits/assertHttp.php';
-
-/**
- * These tests ensure Apache has been recompiled with
- * the right options as long as SuEXEC is concerned.
- */
-class YsulApacheTest extends PHPUnit\Framework\TestCase {
- use assertHttp;
-
- /**
- * Apache server hostname to test
- */
- const SERVER = 'ysul.nasqueron.org';
-
- /**
- * Apache port
- */
- const PORT = 3200;
-
- /**
- * @var string
- */
- protected $url;
-
- public function setUp () {
- $this->url = "http://" . self::SERVER . ":" . self::PORT . "/";
- }
-
- public function testApacheIsLive () {
- $this->assertHttpResponseCode(200, $this->url, "Apache looks down.");
- }
-
- public function testUserDirectoryWorks () {
- $url = $this->url . "~qa/status.html";
- $this->assertHttpResponseCode(200, $url, "Apache doesn't serve user directories.");
- }
-
- public function testUserDirectoryChmod () {
- $url = $this->url . "~qa/";
- $this->assertHttpResponseCode(200, $url, "Apache doesn't autoindex user directories.");
-
- $url = $this->url . "~qa/noautoindex/";
- $this->assertHttpResponseCode(403, $url, "Apache should return a 403 for user directories chmoded 711.");
- }
-
- public function testSuEXECHasBeenInstalled () {
- // Reported by amj on T823, see also T508 and T517.
-
- $url = $this->url . "~qa/test.cgi";
- $this->assertHttpResponseCode(200, $url, "SuEXEC isn't installed or not configured to allow public_html CGI scripts.");
-
- $url = $this->url . "~qa/test.php";
- $this->assertHttpResponseCode(200, $url, "SuEXEC should be patched to invoke php interpreter when the extension is .php.");
- }
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 14:29 (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249487
Default Alt Text
D1826.id4620.diff (1 KB)
Attached To
Mode
D1826: Don't test Apache on Ysul anymore
Attached
Detach File
Event Timeline
Log In to Comment