cvs: php-src /ext/oci8/tests privileged_connect1.phpt
| From: | Antony Dovgal | Date: | Mon, 29 Jan 2007 16:18:15 +0000 |
| Subject: | cvs: php-src /ext/oci8/tests privileged_connect1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42904@lists.php.net to get a copy of this message | ||
tony2001 Mon Jan 29 16:18:15 2007 UTC
Modified files:
/php-src/ext/oci8/tests privileged_connect1.phpt
Log:
fix test
different Oracle client versions report different error messages
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/privileged_connect1.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/oci8/tests/privileged_connect1.phpt
diff -u php-src/ext/oci8/tests/privileged_connect1.phpt:1.5
php-src/ext/oci8/tests/privileged_connect1.phpt:1.6
--- php-src/ext/oci8/tests/privileged_connect1.phpt:1.5 Thu Dec 21 19:22:49 2006
+++ php-src/ext/oci8/tests/privileged_connect1.phpt Mon Jan 29 16:18:15 2007
@@ -26,9 +26,9 @@
Warning: oci_connect() expects parameter 5 to be long, string given in %s on line %d
Done
--UEXPECTF--
-Warning: oci_connect(): ORA-01017: invalid username/password; logon denied in %s on line %d
+Warning: oci_connect(): ORA-%d: %s in %s on line %d
-Warning: oci_connect(): ORA-01017: invalid username/password; logon denied in %s on line %d
+Warning: oci_connect(): ORA-%d: %s in %s on line %d
Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d