Skip to content

Commit

Permalink
Skip PDO test for Oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed Sep 10, 2020
1 parent f8f55ba commit bc508b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/pdo/tests/bug_71885.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ if (!extension_loaded('pdo')) die('skip');
$dir = getenv('REDIR_TEST_DIR');
if (false == $dir) die('skip no driver');
if (!strncasecmp(getenv('PDOTEST_DSN'), 'pgsql', strlen('pgsql'))) die('skip not relevant for pgsql driver');
if (!strncasecmp(getenv('PDOTEST_DSN'), 'oci', strlen('oci'))) die('skip not relevant for OCI driver');
if (!strncasecmp(getenv('PDOTEST_DSN'), 'odbc', strlen('odbc'))) die('skip inconsistent error message with odbc');
require_once $dir . 'pdo_test.inc';
PDOTest::skip();
Expand Down

0 comments on commit bc508b0

Please sign in to comment.