diff options
author | Christopher Jones <sixd@php.net> | 2011-09-16 19:56:32 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2011-09-16 19:56:32 +0000 |
commit | b5edcb56cbf1fab23bfb68e7276cee22b6091e09 (patch) | |
tree | a58dca69aebd68f69c81f5697f6fe5a8424b8bde /ext/oci8/tests | |
parent | 63293044f9549b51c37d06c1b354cebe1c22061f (diff) | |
download | php-git-b5edcb56cbf1fab23bfb68e7276cee22b6091e09.tar.gz |
Test portability fix
Diffstat (limited to 'ext/oci8/tests')
-rw-r--r-- | ext/oci8/tests/pecl_bug16035.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/oci8/tests/pecl_bug16035.phpt b/ext/oci8/tests/pecl_bug16035.phpt index 29ff6439d1..ddd0038de1 100644 --- a/ext/oci8/tests/pecl_bug16035.phpt +++ b/ext/oci8/tests/pecl_bug16035.phpt @@ -10,6 +10,9 @@ $ov = preg_match('/Compile-time ORACLE_HOME/', $phpinfo); if ($ov !== 1) { die ("skip Test only valid when OCI8 is built with an ORACLE_HOME"); } +if (preg_match('/Unknown/', oci_client_version()) == 1) { + die("skip expected output only valid with Oracle clients > 9gR2"); +} ?> --ENV-- ORACLE_HOME="" |