From b0d3c1bf837e382718768a3b5c80e19abf490d15 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 4 Feb 2018 10:41:21 -0200 Subject: [PATCH] Add and fix SKIPIF sections --- ext/com_dotnet/tests/bug73679.phpt | 2 +- ext/dom/tests/bug67949.phpt | 5 +++-- ext/dom/tests/bug69373.phpt | 2 ++ ext/dom/tests/bug69679.phpt | 2 ++ ext/filter/tests/filter_ipv4_rfc6890.phpt | 2 +- ext/gd/tests/bug75124.phpt | 2 +- ext/ldap/tests/ldap_exop_refresh.phpt | 2 -- ext/opcache/tests/bug73789.phpt | 3 +++ ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt | 2 ++ ext/sqlite3/tests/sqlite3_busyTimeout.phpt | 4 ++-- ...sor_hasExsltSupport_not_available_extension.phpt | 13 ------------- 11 files changed, 17 insertions(+), 22 deletions(-) delete mode 100644 ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt diff --git a/ext/com_dotnet/tests/bug73679.phpt b/ext/com_dotnet/tests/bug73679.phpt index 6f46d87d7f..b5b884553f 100644 --- a/ext/com_dotnet/tests/bug73679.phpt +++ b/ext/com_dotnet/tests/bug73679.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #73679 DOTNET read access violation using invalid codepage +Bug #73679 DOTNET read access violation using invalid codepage --SKIPIF-- diff --git a/ext/dom/tests/bug67949.phpt b/ext/dom/tests/bug67949.phpt index 823e6e1449..dd27352e6c 100644 --- a/ext/dom/tests/bug67949.phpt +++ b/ext/dom/tests/bug67949.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #67949: DOMNodeList elements should be accessible through array notation +--SKIPIF-- + --FILE-- getElementsByTagName('a')[0]; var_dump($anchor->attributes[0]->name); echo "==DONE==\n"; - +?> --EXPECTF-- testing has_dimension bool(true) @@ -84,4 +86,3 @@ NULL testing attribute access string(4) "href" ==DONE== - diff --git a/ext/dom/tests/bug69373.phpt b/ext/dom/tests/bug69373.phpt index d04ac03983..ce4510082e 100644 --- a/ext/dom/tests/bug69373.phpt +++ b/ext/dom/tests/bug69373.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #69373 References to deleted XPath query results +--SKIPIF-- + --FILE-- --FILE-- --FILE-- = 2.2.5'); } diff --git a/ext/ldap/tests/ldap_exop_refresh.phpt b/ext/ldap/tests/ldap_exop_refresh.phpt index 613a4fbb26..fd843a62c6 100644 --- a/ext/ldap/tests/ldap_exop_refresh.phpt +++ b/ext/ldap/tests/ldap_exop_refresh.phpt @@ -1,7 +1,5 @@ --TEST-- ldap_exop_refresh() - Test LDAP refresh extended operation ---SKIPIF-- - --CREDITS-- Emmanuel Dreyfus --SKIPIF-- diff --git a/ext/opcache/tests/bug73789.phpt b/ext/opcache/tests/bug73789.phpt index 142d5229f9..c812982f20 100644 --- a/ext/opcache/tests/bug73789.phpt +++ b/ext/opcache/tests/bug73789.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #73789 (Strange behavior of class constants in switch/case block) +--SKIPIF-- + --FILE-- getType("dot")); +?> --EXPECT-- int(2) diff --git a/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt b/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt index 07ddca183a..b55110d511 100644 --- a/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt +++ b/ext/pdo_mysql/tests/PDO_getAvaliableDrivers.phpt @@ -1,6 +1,8 @@ --TEST-- public static array PDO::getAvailableDrivers ( void ); array pdo_drivers ( void ); +--SKIPIF-- + --CREDITS-- marcosptf - - #phparty7 - @phpsp - novatec/2015 - sao paulo - br --FILE-- diff --git a/ext/sqlite3/tests/sqlite3_busyTimeout.phpt b/ext/sqlite3/tests/sqlite3_busyTimeout.phpt index 3c7c2dc41a..ba44e53ed9 100644 --- a/ext/sqlite3/tests/sqlite3_busyTimeout.phpt +++ b/ext/sqlite3/tests/sqlite3_busyTimeout.phpt @@ -2,8 +2,8 @@ public bool SQLite3::busyTimeout ( int $msecs ); --CREDITS-- marcosptf - - @phpsp - sao paulo - br ---XFAILIF-- - +--SKIPIF-- + --FILE-- ---SKIPIF-- - ---FILE-- -hasExsltSupport()); -?> ---EXPECTF-- -Fatal error: Class 'XSLTProcessor' not found in %s on line %d \ No newline at end of file -- 2.50.1