summaryrefslogtreecommitdiff
path: root/ext/pdo_oci
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2011-09-08 20:13:32 (GMT)
committerChristopher Jones <sixd@php.net>2011-09-08 20:13:32 (GMT)
commit47f3bf02c9fecbd9737c62661d09d07409d5ba9e (patch)
tree06a2181748c7000e8c6742cfad9c81a85bc9655f /ext/pdo_oci
parentd4f1085c18a0cead3503f9bb600b59fbab831275 (diff)
downloadphp-47f3bf02c9fecbd9737c62661d09d07409d5ba9e.tar.gz
Update SKIPIFs for test portability
Diffstat (limited to 'ext/pdo_oci')
-rw-r--r--ext/pdo_oci/tests/pdo_oci_fread_1.phpt1
-rw-r--r--ext/pdo_oci/tests/pdo_oci_stream_1.phpt1
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 9604ef5..26a92f0 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 d054f88..27a28b9 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--