From bf9933573ab73455ae37066d585f5a58836041dc Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Fri, 16 Sep 2011 19:56:32 +0000 Subject: [PATCH] Test portability fix --- ext/oci8/tests/pecl_bug16035.phpt | 3 +++ 1 file changed, 3 insertions(+) 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="" -- 2.40.0