summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/db_op_1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/db_op_1.phpt')
-rw-r--r--ext/oci8/tests/db_op_1.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/oci8/tests/db_op_1.phpt b/ext/oci8/tests/db_op_1.phpt
index f645cf80ff..b4f7db168b 100644
--- a/ext/oci8/tests/db_op_1.phpt
+++ b/ext/oci8/tests/db_op_1.phpt
@@ -1,8 +1,8 @@
--TEST--
oci_set_db_operation: basic test for end-to-end tracing
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die ("skip no oci8 extension");
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
@@ -13,11 +13,11 @@ if (!(isset($matches[0]) && $matches[1] >= 12)) {
die("skip expected output only valid when using Oracle Database 12c or greater");
}
preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
-if (!(isset($matches[0]) && $matches[0] >= 12)) {
+if (!(isset($matches[0]) && $matches[0] >= 12)) {
die("skip works only with Oracle 12c or greater version of Oracle client libraries");
}
if (!function_exists('oci_set_db_operation'))
-{
+{
die("skip function oci_set_db_operation() does not exist");
}
?>
@@ -58,4 +58,4 @@ array(1) {
string(7) "db_op_1"
}
===DONE===
-
+