]> granicus.if.org Git - php/commitdiff
refix test
authorAnatol Belski <ab@php.net>
Fri, 13 Jan 2017 14:31:10 +0000 (15:31 +0100)
committerAnatol Belski <ab@php.net>
Fri, 13 Jan 2017 14:31:10 +0000 (15:31 +0100)
ext/opcache/tests/blacklist-win32.phpt

index e4095276acf2dff4f2dcd2ade7497e56d2be9397..fab0698f7fb5b60d347cdcaba1fc8b1670dc6b62 100644 (file)
@@ -18,8 +18,7 @@ $conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
 print_r($conf);
 include("blacklist.inc");
 $status = opcache_get_status();
-/* Probably should only test for > 0 here.*/
-print_r(count($status['scripts']));
+print_r(count($status['scripts']) > 0);
 ?>
 --EXPECTF--
 Array
@@ -33,4 +32,4 @@ Array
     [6] => %scurrent.php
 )
 ok
-5
+1