diff options
Diffstat (limited to 'ext/oci8/tests/calltimeout1.phpt')
-rw-r--r-- | ext/oci8/tests/calltimeout1.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/tests/calltimeout1.phpt b/ext/oci8/tests/calltimeout1.phpt index 4411ed0f2c..123e51561a 100644 --- a/ext/oci8/tests/calltimeout1.phpt +++ b/ext/oci8/tests/calltimeout1.phpt @@ -5,7 +5,7 @@ oci_set_call_timeout: test timing out if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request'); 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'); +require(__DIR__.'/skipif.inc'); if (strcasecmp($user, "system") && strcasecmp($user, "sys")) { die("skip needs to be run as a user with access to DBMS_LOCK"); } @@ -18,7 +18,7 @@ if (!(isset($matches[0]) && $matches[0] >= 18)) { --FILE-- <?php -require(dirname(__FILE__).'/connect.inc'); +require(__DIR__.'/connect.inc'); function mysleep($c, $t) { |