From: Antony Dovgal Date: Wed, 7 Sep 2005 15:27:09 +0000 (+0000) Subject: new test X-Git-Tag: RELEASE_0_9_0~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=324080065d964be08d8a359430cf36581651c081;p=php new test --- diff --git a/ext/oci8/tests/error1.phpt b/ext/oci8/tests/error1.phpt new file mode 100644 index 0000000000..a150de8975 --- /dev/null +++ b/ext/oci8/tests/error1.phpt @@ -0,0 +1,23 @@ +--TEST-- +oci_error() when oci_connect() fails +--SKIPIF-- + +--ENV-- +return " +ORACLE_HOME=".(isset($_ENV['ORACLE_HOME']) ? $_ENV['ORACLE_HOME'] : '')." +NLS_LANG=".(isset($_ENV['NLS_LANG']) ? $_ENV['NLS_LANG'] : '')." +"; +--FILE-- + +--EXPECTF-- +Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +bool(false) +bool(false) +Done