summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/drcp_privileged.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/drcp_privileged.phpt')
-rw-r--r--ext/oci8/tests/drcp_privileged.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/oci8/tests/drcp_privileged.phpt b/ext/oci8/tests/drcp_privileged.phpt
index 3871341bc5..c57216672f 100644
--- a/ext/oci8/tests/drcp_privileged.phpt
+++ b/ext/oci8/tests/drcp_privileged.phpt
@@ -5,6 +5,9 @@ DRCP: privileged connect
if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
if (!$test_drcp) die("skip requires DRCP connection");
+// Looked for :pooled in EZ connect string
+if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
+ die('skip DRCP test requires a DRCP pooled server connection');
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
ob_start();
phpinfo(INFO_MODULES);