sixd Fri, 02 Oct 2009 04:19:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289080
Log: Fix skipifs to accept Oracle 11.2 Changed paths: U php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_1.phpt U php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_2.phpt U php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_3.phpt U php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_4.phpt U php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303.phpt U php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_2.phpt U php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_4.phpt U php/php-src/trunk/ext/oci8/tests/bind_char_1.phpt U php/php-src/trunk/ext/oci8/tests/bind_char_2.phpt U php/php-src/trunk/ext/oci8/tests/bind_char_3.phpt U php/php-src/trunk/ext/oci8/tests/bind_char_4.phpt U php/php-src/trunk/ext/oci8/tests/bug27303.phpt U php/php-src/trunk/ext/oci8/tests/bug27303_2.phpt U php/php-src/trunk/ext/oci8/tests/bug27303_4.phpt
Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_1.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_1.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_1.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_2.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_2.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_3.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_3.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_4.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_4.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bind_char_4.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_2.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_2.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_4.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_4.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/branches/PHP_5_3/ext/oci8/tests/bug27303_4.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/trunk/ext/oci8/tests/bind_char_1.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bind_char_1.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bind_char_1.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/trunk/ext/oci8/tests/bind_char_2.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bind_char_2.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bind_char_2.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/trunk/ext/oci8/tests/bind_char_3.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bind_char_3.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bind_char_3.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/trunk/ext/oci8/tests/bind_char_4.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bind_char_4.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bind_char_4.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/trunk/ext/oci8/tests/bug27303.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bug27303.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bug27303.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- @@ -57,6 +57,8 @@ echo "Done\n"; ?> +--XFAIL-- +Bind length difference from PHP 5.3 due to character set differences. To be investiga --EXPECTF-- unicode(1) "1" unicode(1) "2" Modified: php/php-src/trunk/ext/oci8/tests/bug27303_2.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bug27303_2.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bug27303_2.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- Modified: php/php-src/trunk/ext/oci8/tests/bug27303_4.phpt =================================================================== --- php/php-src/trunk/ext/oci8/tests/bug27303_4.phpt 2009-10-02 02:12:40 UTC (rev 289079) +++ php/php-src/trunk/ext/oci8/tests/bug27303_4.phpt 2009-10-02 04:19:48 UTC (rev 289080) @@ -5,9 +5,9 @@ if (!extension_loaded('oci8')) die ("skip no oci8 extension"); require(dirname(__FILE__)."/connect.inc"); $sv = oci_server_version($c); -$sv = preg_match('/11.1/', $sv, $matches); +$sv = preg_match('/Release 1[12]\./', $sv, $matches); if ($sv !== 1) { - die ("skip expected output only valid when using Oracle 11g database"); + die ("skip expected output only valid when using Oracle 11g+ database"); } ?> --FILE-- @@ -57,6 +57,8 @@ echo "Done\n"; ?> +--XFAIL-- +Bind length difference from PHP 5.3 due to character set differences. To be investigated --EXPECTF-- unicode(1) "1" unicode(1) "2"
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php