Commit: ef93a93ee21bce9218188d3f037cf55c5d2ae452 Author: Xinchen Hui <larue...@php.net> Thu, 28 Mar 2013 23:22:20 +0800 Parents: 242d88c20c5eae36465e4cae2889917e949814da Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ef93a93ee21bce9218188d3f037cf55c5d2ae452 Log: Attempt to fix SKIP Changed paths: M sapi/cli/tests/bug64529.phpt Diff: diff --git a/sapi/cli/tests/bug64529.phpt b/sapi/cli/tests/bug64529.phpt index 2f0a962..7ca13a4 100644 --- a/sapi/cli/tests/bug64529.phpt +++ b/sapi/cli/tests/bug64529.phpt @@ -2,8 +2,13 @@ Bug #64529 (Ran out of opcode space) --SKIPIF-- <?php -if (substr(PHP_OS, 0, 3) == "WIN") die("skip non windows test"); -if (!trim(`which expect`)) die "skip no expect installed"; +if (substr(PHP_OS, 0, 3) == "WIN") { + die("skip non windows test"); +} +exec('which expect', $output, $ret); +if ($ret) { + die "skip no expect installed"; +} ?> --FILE-- <?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php