Skip to content

Commit ef93a93

Browse files
committed
Attempt to fix SKIP
1 parent 242d88c commit ef93a93

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

sapi/cli/tests/bug64529.phpt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
Bug #64529 (Ran out of opcode space)
33
--SKIPIF--
44
<?php
5-
if (substr(PHP_OS, 0, 3) == "WIN") die("skip non windows test");
6-
if (!trim(`which expect`)) die "skip no expect installed";
5+
if (substr(PHP_OS, 0, 3) == "WIN") {
6+
die("skip non windows test");
7+
}
8+
exec('which expect', $output, $ret);
9+
if ($ret) {
10+
die "skip no expect installed";
11+
}
712
?>
813
--FILE--
914
<?php

0 commit comments

Comments
 (0)