diff options
author | Christopher Jones <christopher.jones@oracle.com> | 2018-12-08 20:12:43 +1100 |
---|---|---|
committer | Christopher Jones <christopher.jones@oracle.com> | 2018-12-08 20:12:43 +1100 |
commit | 9a0ec35fa3db78e7a5575978984842bcad8de0d1 (patch) | |
tree | 98ae9583aa0716808e0a2d4d1e4ac83f394c1d29 /ext/oci8 | |
parent | dd0a8091f469e66321c2ddd9176ccac09a88b203 (diff) | |
download | php-git-9a0ec35fa3db78e7a5575978984842bcad8de0d1.tar.gz |
Don't skip with 18c DB
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/tests/driver_name.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/oci8/tests/driver_name.phpt b/ext/oci8/tests/driver_name.phpt index bc42ad234d..509e5f471c 100644 --- a/ext/oci8/tests/driver_name.phpt +++ b/ext/oci8/tests/driver_name.phpt @@ -8,9 +8,9 @@ if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to if ($test_drcp) die("skip as Output might vary with DRCP"); preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); -if (!(isset($matches[0]) && +if (!(isset($matches[0]) && ($matches[1] > 12 || ($matches[1] == 12 && $matches[2] == 1 && $matches[3] >= 0 - && $matches[4] >= 2) || ($matches[1] == 12 && $matches[2] > 1))) { + && $matches[4] >= 2) || ($matches[1] == 12 && $matches[2] > 1)))) { die("skip test expected to work only with Oracle 12.1.0.2 database or its later patchsets"); } @@ -57,11 +57,11 @@ function get_attr($conn) ?> --EXPECT-- **Test 1.1 - Default values for the attribute ************** -The value of DRIVER_NAME is PHP OCI8 : 2.1.8 +The value of DRIVER_NAME is PHP OCI8 : 2.1.9 ***Test 1.2 - Get the values from different connections ************** Testing with oci_pconnect() -The value of DRIVER_NAME is PHP OCI8 : 2.1.8 +The value of DRIVER_NAME is PHP OCI8 : 2.1.9 Testing with oci_new_connect() -The value of DRIVER_NAME is PHP OCI8 : 2.1.8 +The value of DRIVER_NAME is PHP OCI8 : 2.1.9 Done |