From: Christopher Jones Date: Fri, 16 Sep 2011 19:56:32 +0000 (+0000) Subject: Test portability fix X-Git-Tag: php-5.5.0alpha1~1116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee026944fda1ac0df92453608367d41276bd623c;p=php Test portability fix --- 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=""