From 8092de3ca304fa3874d1fec866c63838ae1fc38d Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 13 Jan 2014 17:12:14 +0100 Subject: [PATCH] forked test for win32 --- ext/opcache/tests/blacklist-win32.phpt | 34 ++++++++++++++++++++++++++ ext/opcache/tests/blacklist.phpt | 1 + 2 files changed, 35 insertions(+) create mode 100644 ext/opcache/tests/blacklist-win32.phpt diff --git a/ext/opcache/tests/blacklist-win32.phpt b/ext/opcache/tests/blacklist-win32.phpt new file mode 100644 index 0000000000..909c695fcd --- /dev/null +++ b/ext/opcache/tests/blacklist-win32.phpt @@ -0,0 +1,34 @@ +--TEST-- +Blacklist (with glob, quote and comments) +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.blacklist_filename={PWD}/opcache-*.blacklist +opcache.file_update_protection=0 +--SKIPIF-- + + +--FILE-- + +--EXPECTF-- +Array +( + [0] => C:\path\to\foo + [1] => C:\path\to\foo2 + [2] => C:\path\to\bar + [3] => __DIR__\blacklist.inc + [4] => __DIR__\current.php + [5] => %scurrent.php + [6] => %scurrent.php +) +ok +1 diff --git a/ext/opcache/tests/blacklist.phpt b/ext/opcache/tests/blacklist.phpt index 18c205cacf..0c60425dac 100644 --- a/ext/opcache/tests/blacklist.phpt +++ b/ext/opcache/tests/blacklist.phpt @@ -7,6 +7,7 @@ opcache.blacklist_filename={PWD}/opcache-*.blacklist opcache.file_update_protection=0 --SKIPIF-- + --FILE--