From e7c3f449581a9724b5dd3d051c0420987a669c01 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 13 Jan 2017 15:31:10 +0100 Subject: [PATCH] refix test --- ext/opcache/tests/blacklist-win32.phpt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.40.0