summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/oci8/tests/oci8safemode.phpt22
1 files changed, 0 insertions, 22 deletions
diff --git a/ext/oci8/tests/oci8safemode.phpt b/ext/oci8/tests/oci8safemode.phpt
deleted file mode 100644
index ac88cb02da..0000000000
--- a/ext/oci8/tests/oci8safemode.phpt
+++ /dev/null
@@ -1,22 +0,0 @@
---TEST--
-Test functionality disabled in safe mode
---SKIPIF--
-<?php if (!extension_loaded('oci8')){ die("skip no oci8 extension"); } if (PHP_VERSION_ID < 503099){ die("skip: safe_mode no longer available"); } ?>
---INI--
-oci8.privileged_connect=On
---FILE--
-<?php
-
-$c = oci_connect("hr", "hrpwd", "//localhost/XE", null, OCI_SYSDBA);
-
-$r = oci_password_change($c, "hr", "hrpwd", "hrpwd");
-
-echo "Done\n";
-?>
---EXPECTF--
-%sarning:%sDirective 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
-
-Warning: oci_connect(): Privileged connect is disabled in Safe Mode in %s on line %d
-
-Warning: oci_password_change(): is disabled in Safe Mode in %s on line %d
-Done