From: Anatol Belski Date: Fri, 13 Jan 2017 14:31:10 +0000 (+0100) Subject: refix test X-Git-Tag: php-7.1.2RC1~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7c3f449581a9724b5dd3d051c0420987a669c01;p=php refix test --- diff --git a/ext/opcache/tests/blacklist-win32.phpt b/ext/opcache/tests/blacklist-win32.phpt index e4095276ac..fab0698f7f 100644 --- a/ext/opcache/tests/blacklist-win32.phpt +++ b/ext/opcache/tests/blacklist-win32.phpt @@ -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