diff options
author | Christopher Jones <sixd@php.net> | 2011-09-08 20:13:32 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2011-09-08 20:13:32 +0000 |
commit | e81fed3df5a6788c0cbe99e7b0f675597ea3e0f6 (patch) | |
tree | 575ab08437bacc5a20394cd20f760dd9a31f5a91 /ext/pdo_oci | |
parent | 8e23ee53bf178fa8ad5cbef8113769efa10b361c (diff) | |
download | php-git-e81fed3df5a6788c0cbe99e7b0f675597ea3e0f6.tar.gz |
Update SKIPIFs for test portability
Diffstat (limited to 'ext/pdo_oci')
-rw-r--r-- | ext/pdo_oci/tests/pdo_oci_fread_1.phpt | 1 | ||||
-rw-r--r-- | ext/pdo_oci/tests/pdo_oci_stream_1.phpt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_oci/tests/pdo_oci_fread_1.phpt b/ext/pdo_oci/tests/pdo_oci_fread_1.phpt index 9604ef586d..26a92f01b4 100644 --- a/ext/pdo_oci/tests/pdo_oci_fread_1.phpt +++ b/ext/pdo_oci/tests/pdo_oci_fread_1.phpt @@ -4,6 +4,7 @@ PDO_OCI: check fread() EOF <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded'); require(dirname(__FILE__).'/../../pdo/tests/pdo_test.inc'); +if (!strpos(strtolower(getenv('PDOTEST_DSN')), 'charset=we8mswin1252')) die('skip expected output valid for WE8MSWIN1252 character set'); PDOTest::skip(); ?> --FILE-- diff --git a/ext/pdo_oci/tests/pdo_oci_stream_1.phpt b/ext/pdo_oci/tests/pdo_oci_stream_1.phpt index d054f88d4b..27a28b9bb8 100644 --- a/ext/pdo_oci/tests/pdo_oci_stream_1.phpt +++ b/ext/pdo_oci/tests/pdo_oci_stream_1.phpt @@ -4,6 +4,7 @@ PDO_OCI: stream_get_contents length & offset test <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded'); require(dirname(__FILE__).'/../../pdo/tests/pdo_test.inc'); +if (!strpos(strtolower(getenv('PDOTEST_DSN')), 'charset=we8mswin1252')) die('skip expected output valid for WE8MSWIN1252 character set'); PDOTest::skip(); ?> --FILE-- |