From: Gabriel Caruso Date: Sat, 3 Feb 2018 04:33:09 +0000 (-0200) Subject: Add missing SKIPIF sections X-Git-Tag: php-7.3.0alpha1~497 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6c9e71a5b65aa96ad133f90d7f48b18cdc95788;p=php Add missing SKIPIF sections --- diff --git a/ext/fileinfo/tests/precedural_finfo_in_method.phpt b/ext/fileinfo/tests/precedural_finfo_in_method.phpt index 8495d4cc1e..539473fd95 100644 --- a/ext/fileinfo/tests/precedural_finfo_in_method.phpt +++ b/ext/fileinfo/tests/precedural_finfo_in_method.phpt @@ -1,5 +1,7 @@ --TEST-- Using procedural finfo API in a method +--SKIPIF-- + --FILE-- --FILE-- $range) { var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE)); } - - +?> --EXPECT-- string(10) "10.0.0.0/8" bool(false) diff --git a/ext/gmp/tests/bug50175.phpt b/ext/gmp/tests/bug50175.phpt index 0998e029c3..4c12aad667 100644 --- a/ext/gmp/tests/bug50175.phpt +++ b/ext/gmp/tests/bug50175.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #50175: gmp_init() results 0 on given base and number starting with 0x or 0b +--SKIPIF-- + --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --EXPECTF-- bool(true) bool(false) diff --git a/ext/iconv/tests/bug69840.phpt b/ext/iconv/tests/bug69840.phpt index af79bbcdd6..93bda9a731 100644 --- a/ext/iconv/tests/bug69840.phpt +++ b/ext/iconv/tests/bug69840.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #69840 (iconv_substr() doesn't work with UTF-16BE) +--SKIPIF-- + --FILE-- diff --git a/ext/json/tests/bug73991.phpt b/ext/json/tests/bug73991.phpt index 06aba555f0..fc0be19a92 100644 --- a/ext/json/tests/bug73991.phpt +++ b/ext/json/tests/bug73991.phpt @@ -1,5 +1,7 @@ --TEST-- Allow JSON_OBJECT_AS_ARRAY to have an effect +--SKIPIF-- + --FILE-- --EXPECTF-- object(stdClass)#%d (1) { ["foo"]=> diff --git a/ext/json/tests/json_decode_exceptions.phpt b/ext/json/tests/json_decode_exceptions.phpt index e71a3a54c0..14cf59fd02 100644 --- a/ext/json/tests/json_decode_exceptions.phpt +++ b/ext/json/tests/json_decode_exceptions.phpt @@ -1,5 +1,7 @@ --TEST-- Test json_decode() function : JSON_THROW_ON_ERROR flag +--SKIPIF-- + --FILE-- --FILE-- --FILE-- --CREDITS-- Emmanuel Dreyfus --SKIPIF-- @@ -7,7 +9,7 @@ Emmanuel Dreyfus --CREDITS-- Edwin Hoksberg --FILE-- diff --git a/ext/mbstring/tests/bug62934.phpt b/ext/mbstring/tests/bug62934.phpt index f3521a97c6..8e85ae7e22 100644 --- a/ext/mbstring/tests/bug62934.phpt +++ b/ext/mbstring/tests/bug62934.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #62934: mb_convert_kana() does not convert iteration marks +--SKIPIF-- + --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --INI-- zend.multibyte=On zend.script_encoding=Shift_JIS diff --git a/ext/mbstring/tests/zend_multibyte-02.phpt b/ext/mbstring/tests/zend_multibyte-02.phpt index 7db444841e..43eb0aebd8 100644 --- a/ext/mbstring/tests/zend_multibyte-02.phpt +++ b/ext/mbstring/tests/zend_multibyte-02.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (2) +--SKIPIF-- + --INI-- error_reporting=E_ALL & ~E_DEPRECATED zend.multibyte=On diff --git a/ext/mbstring/tests/zend_multibyte-03.phpt b/ext/mbstring/tests/zend_multibyte-03.phpt index 99c58bce70..b7e13d46ed 100644 --- a/ext/mbstring/tests/zend_multibyte-03.phpt +++ b/ext/mbstring/tests/zend_multibyte-03.phpt @@ -1,6 +1,7 @@ --TEST-- zend multibyte (3) --SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=UTF-8 diff --git a/ext/mbstring/tests/zend_multibyte-04.phpt b/ext/mbstring/tests/zend_multibyte-04.phpt index e7fdf81cdd..5cb3af3472 100644 --- a/ext/mbstring/tests/zend_multibyte-04.phpt +++ b/ext/mbstring/tests/zend_multibyte-04.phpt @@ -1,6 +1,7 @@ --TEST-- zend multibyte (4) --SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=CP932 diff --git a/ext/mbstring/tests/zend_multibyte-05.phpt b/ext/mbstring/tests/zend_multibyte-05.phpt index 3dd56d043d..4d0c236b7a 100644 --- a/ext/mbstring/tests/zend_multibyte-05.phpt +++ b/ext/mbstring/tests/zend_multibyte-05.phpt @@ -1,6 +1,7 @@ --TEST-- zend multibyte (5) --SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=EUC-JP diff --git a/ext/mbstring/tests/zend_multibyte-06.phpt b/ext/mbstring/tests/zend_multibyte-06.phpt index 7eeac1d353..71e5c903b9 100644 --- a/ext/mbstring/tests/zend_multibyte-06.phpt +++ b/ext/mbstring/tests/zend_multibyte-06.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (6) +--SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=EUC-JP diff --git a/ext/mbstring/tests/zend_multibyte-07.phpt b/ext/mbstring/tests/zend_multibyte-07.phpt index 685c6f1f04..b81104ca3e 100644 --- a/ext/mbstring/tests/zend_multibyte-07.phpt +++ b/ext/mbstring/tests/zend_multibyte-07.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (7) +--SKIPIF-- + --INI-- error_reporting=E_ALL & ~E_DEPRECATED zend.multibyte=On diff --git a/ext/mbstring/tests/zend_multibyte-08.phpt b/ext/mbstring/tests/zend_multibyte-08.phpt index 9e5b75eadd..1030dfdc91 100644 --- a/ext/mbstring/tests/zend_multibyte-08.phpt +++ b/ext/mbstring/tests/zend_multibyte-08.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (8) +--SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=ISO-8859-1 diff --git a/ext/mbstring/tests/zend_multibyte-09.phpt b/ext/mbstring/tests/zend_multibyte-09.phpt index f9b8bf734f..17d5840e47 100644 --- a/ext/mbstring/tests/zend_multibyte-09.phpt +++ b/ext/mbstring/tests/zend_multibyte-09.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (9) +--SKIPIF-- + --INI-- error_reporting=E_ALL & ~E_DEPRECATED zend.multibyte=On diff --git a/ext/mbstring/tests/zend_multibyte-10.phpt b/ext/mbstring/tests/zend_multibyte-10.phpt index ef8ce9d0bc..ad70b853af 100644 --- a/ext/mbstring/tests/zend_multibyte-10.phpt +++ b/ext/mbstring/tests/zend_multibyte-10.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (10) +--SKIPIF-- + --INI-- zend.multibyte=1 --FILE-- @@ -9,4 +11,4 @@ declare(encoding="ISO-8859-1"); echo "ok\n"; ?> --EXPECTF-- -ok \ No newline at end of file +ok diff --git a/ext/mbstring/tests/zend_multibyte-11.phpt b/ext/mbstring/tests/zend_multibyte-11.phpt index 0f9874b538..c5e02eeae3 100644 --- a/ext/mbstring/tests/zend_multibyte-11.phpt +++ b/ext/mbstring/tests/zend_multibyte-11.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (11) +--SKIPIF-- + --INI-- zend.multibyte=1 --FILE-- @@ -10,4 +12,4 @@ declare(encoding="ISO-8859-15") { } ?> --EXPECTF-- -Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line %d \ No newline at end of file +Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line %d diff --git a/ext/mbstring/tests/zend_multibyte-12.phpt b/ext/mbstring/tests/zend_multibyte-12.phpt index bbfa25d97f..844e3bc499 100644 --- a/ext/mbstring/tests/zend_multibyte-12.phpt +++ b/ext/mbstring/tests/zend_multibyte-12.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (12) +--SKIPIF-- + --INI-- zend.multibyte=1 --FILE-- diff --git a/ext/mbstring/tests/zend_multibyte-13.phpt b/ext/mbstring/tests/zend_multibyte-13.phpt index 6eaef985f5..f3a18fe481 100644 --- a/ext/mbstring/tests/zend_multibyte-13.phpt +++ b/ext/mbstring/tests/zend_multibyte-13.phpt @@ -1,6 +1,7 @@ --TEST-- zend multibyte (13) --SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=UTF-8 diff --git a/ext/mbstring/tests/zend_multibyte-14.phpt b/ext/mbstring/tests/zend_multibyte-14.phpt index 98c2f87e25..36c7c5355c 100644 --- a/ext/mbstring/tests/zend_multibyte-14.phpt +++ b/ext/mbstring/tests/zend_multibyte-14.phpt @@ -1,6 +1,7 @@ --TEST-- zend multibyte (14) --SKIPIF-- + --INI-- zend.multibyte=On zend.script_encoding=UTF-8 diff --git a/ext/mbstring/tests/zend_multibyte-15.phpt b/ext/mbstring/tests/zend_multibyte-15.phpt index 6995444bbb..35246bcdca 100644 --- a/ext/mbstring/tests/zend_multibyte-15.phpt +++ b/ext/mbstring/tests/zend_multibyte-15.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (15) +--SKIPIF-- + --INI-- zend.multibyte=1 --FILE-- @@ -13,4 +15,4 @@ declare(encoding="UTF-8") { ?> --EXPECTF-- ok -ok \ No newline at end of file +ok diff --git a/ext/mbstring/tests/zend_multibyte-16.phpt b/ext/mbstring/tests/zend_multibyte-16.phpt index 4470e3a87f..7f1d91e294 100644 --- a/ext/mbstring/tests/zend_multibyte-16.phpt +++ b/ext/mbstring/tests/zend_multibyte-16.phpt @@ -1,5 +1,7 @@ --TEST-- zend multibyte (16) +--SKIPIF-- + --INI-- zend.multibyte=1 --FILE-- @@ -11,4 +13,4 @@ echo "ok\n"; ?> --EXPECTF-- ok -ok \ No newline at end of file +ok diff --git a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt index 9df7591003..52d1341ae5 100644 --- a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt @@ -1,5 +1,7 @@ --TEST-- Testing getDocNamespaces() with invalid XML +--SKIPIF-- + --FILE-- --FILE-- xpath("BBBB")); ?> diff --git a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt index 75cf5720d5..cb6b3ad08f 100644 --- a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt @@ -2,6 +2,7 @@ Testing xpath() with invalid XML --SKIPIF-- diff --git a/ext/simplexml/tests/bug53033.phpt b/ext/simplexml/tests/bug53033.phpt index 626022cd54..3da0dbc11c 100644 --- a/ext/simplexml/tests/bug53033.phpt +++ b/ext/simplexml/tests/bug53033.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #53033: Mathematical operations convert objects to integers +--SKIPIF-- + --FILE-- --FILE-- 9223372036854775808"); diff --git a/ext/soap/tests/bug70211.phpt b/ext/soap/tests/bug70211.phpt index 2d7124376b..bd1f94ecef 100644 --- a/ext/soap/tests/bug70211.phpt +++ b/ext/soap/tests/bug70211.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #70211 (php 7 ZEND_HASH_IF_FULL_DO_RESIZE use after free) +--SKIPIF-- + --FILE-- --CREDITS-- edgarsandi - --FILE-- @@ -21,4 +23,4 @@ HERE; --EXPECTF-- Warning: xml_parse(): Unable to call handler ahihi() in %s%ebug73135.php on line %d -Warning: xml_parse(): Unable to call handler ahihi() in %s%ebug73135.php on line %d \ No newline at end of file +Warning: xml_parse(): Unable to call handler ahihi() in %s%ebug73135.php on line %d diff --git a/ext/zlib/tests/bug73944.phpt b/ext/zlib/tests/bug73944.phpt index c4291afa4e..6d1e5e5b91 100644 --- a/ext/zlib/tests/bug73944.phpt +++ b/ext/zlib/tests/bug73944.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #73944: Dictionary option of intflate_init() does not work +--SKIPIF-- + --FILE-- --FILE-- --SKIPIF-- - @@ -19,4 +17,4 @@ while (!gzeof($handle)){ gzclose($handle); ?> --EXPECT-- -stringgzgetss(resource $zp, int $length [, string $allowable_tags ]); \ No newline at end of file +stringgzgetss(resource $zp, int $length [, string $allowable_tags ]);