cvs: php4 / run-tests.php
| From: | Derick Rethans | Date: | Tue, 18 Feb 2003 20:07:59 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18963@lists.php.net to get a copy of this message | ||
derick Tue Feb 18 15:07:59 2003 EDT
Modified files:
/php4 run-tests.php
Log:
- Add check for proc_open() being available
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.144 php4/run-tests.php:1.145
--- php4/run-tests.php:1.144 Sat Feb 15 22:48:48 2003
+++ php4/run-tests.php Tue Feb 18 15:07:59 2003
@@ -57,6 +57,19 @@
exit;
}
+if (!function_exists("proc_open")) {
+ echo <<<NO_PROC_OPEN_ERROR
+
++-----------------------------------------------------------+
+| ! ERROR ! |
+| The test-suite requires that proc_open() is available. |
+| Please check if you disabled it in php.ini. |
++-----------------------------------------------------------+
+
+NO_PROC_OPEN_ERROR;
+exit;
+}
+
// change into the PHP source directory.
if (getenv('TEST_PHP_SRCDIR')) {