aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7/fix-tests-devserver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/php7/fix-tests-devserver.patch')
-rw-r--r--community/php7/fix-tests-devserver.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/php7/fix-tests-devserver.patch b/community/php7/fix-tests-devserver.patch
index 317ceb0ffc..44e4d43c97 100644
--- a/community/php7/fix-tests-devserver.patch
+++ b/community/php7/fix-tests-devserver.patch
@@ -11,13 +11,13 @@ happens here...
--- a/run-tests.php
+++ b/run-tests.php
-@@ -1986,6 +1986,9 @@
- // Does the output match what is expected?
- $output = preg_replace("/\r\n/", "\n", trim($out));
+@@ -2503,6 +2503,9 @@
+ // Does the output match what is expected?
+ $output = preg_replace("/\r\n/", "\n", trim($out));
+ // Remove message from built-in development server.
+ $output = preg_replace("/^PHP [0-9.]+ Development Server started at .*\n\n?/m", "", $output);
+
- /* when using CGI, strip the headers from the output */
- $headers = array();
+ /* when using CGI, strip the headers from the output */
+ $headers = array();