PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/oci8/tests/privileged_connect1.phpt ('privileged connect tests')

Script

1: <?php
2:         
3:
require dirname(__FILE__)."/connect.inc";
4:
5:
oci_connect(""""""falseOCI_SYSOPER);
6:
oci_connect(""""""falseOCI_SYSDBA);
7:
oci_connect(""""""false, -1);
8:
oci_connect(""""""false"qwe");
9:
10: echo 
"Done\n";
11:
?>
12:

Expected

Warning: oci_connect(): ORA-%d: %s 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

Warning: oci_connect() expects parameter 5 to be integer, string given in %s on line %d
Done

Output

***********************************************************************
Fatal NI connect error 12546, connecting to:
 (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/u01/app/oracle/product/11.2.0/xe/bin/oracle)(ARGV0=oracleXE)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess))))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 11-NOV-2017 10:36:52
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12546
    TNS-12546: TNS:permission denied
    ns secondary err code: 12560
    nt main err code: 516
    TNS-00516: Permission denied

Warning: oci_connect(): ORA-12546: TNS:permission denied in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 5
    nt secondary err code: 13
    nt OS err code: 0


***********************************************************************
Fatal NI connect error 12546, connecting to:
 (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/u01/app/oracle/product/11.2.0/xe/bin/oracle)(ARGV0=oracleXE)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess))))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 11-NOV-2017 10:36:52
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12546
    TNS-12546: TNS:permission denied
    ns secondary err code: 12560
    nt main err code: 516
    TNS-00516: Permission denied

Warning: oci_connect(): ORA-12546: TNS:permission denied in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 6
    nt secondary err code: 13
    nt OS err code: 0

Warning: oci_connect(): Invalid session mode specified (-1) in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 7

Warning: oci_connect() expects parameter 5 to be integer, string given in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 8
Done

Diff

001+ ***********************************************************************
002+ Fatal NI connect error 12546, connecting to:
003+  (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/u01/app/oracle/product/11.2.0/xe/bin/oracle)(ARGV0=oracleXE)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess))))
001- Warning: oci_connect(): ORA-%d: %s in %s on line %d
003- Warning: oci_connect(): ORA-%d: %s in %s on line %d
004- 
005- Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d
005+   VERSION INFORMATION:
006+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
007+ 	Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
008+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
009+   Time: 11-NOV-2017 10:36:52
010+   Tracing not turned on.
011+   Tns error struct:
012+     ns main err code: 12546
013+     TNS-12546: TNS:permission denied
014+     ns secondary err code: 12560
015+     nt main err code: 516
016+     TNS-00516: Permission denied
007- Warning: oci_connect() expects parameter 5 to be integer, string given in %s on line %d
008- Done
018+ Warning: oci_connect(): ORA-12546: TNS:permission denied in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 5
019+     nt secondary err code: 13
020+     nt OS err code: 0
021+ 
022+ 
023+ ***********************************************************************
024+ Fatal NI connect error 12546, connecting to:
025+  (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/u01/app/oracle/product/11.2.0/xe/bin/oracle)(ARGV0=oracleXE)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess))))
026+ 
027+   VERSION INFORMATION:
028+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
029+ 	Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
030+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
031+   Time: 11-NOV-2017 10:36:52
032+   Tracing not turned on.
033+   Tns error struct:
034+     ns main err code: 12546
035+     TNS-12546: TNS:permission denied
036+     ns secondary err code: 12560
037+     nt main err code: 516
038+     TNS-00516: Permission denied
039+ 
040+ Warning: oci_connect(): ORA-12546: TNS:permission denied in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 6
041+     nt secondary err code: 13
042+     nt OS err code: 0
043+ 
044+ Warning: oci_connect(): Invalid session mode specified (-1) in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 7
045+ 
046+ Warning: oci_connect() expects parameter 5 to be integer, string given in /var/php_gcov/PHP_HEAD/ext/oci8/tests/privileged_connect1.php on line 8
047+ Done

 

Generated at Sun, 12 Nov 2017 21:17:35 +0000 (5 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.