cvs: php-src(PHP_5_2) /ext/oci8/tests connect.inc details.inc lob_029.phpt

From: Date: Tue, 12 Dec 2006 13:00:01 +0000
Subject: cvs: php-src(PHP_5_2) /ext/oci8/tests connect.inc details.inc lob_029.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42075@lists.php.net to get a copy of this message
tony2001 Tue Dec 12 13:00:01 2006 UTC Added files: (Branch: PHP_5_2) /php-src/ext/oci8/tests details.inc Modified files: /php-src/ext/oci8/tests connect.inc lob_029.phpt Log: MFH: skip BFILE tests if Oracle is not on localhost http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/connect.inc?r1=1.2.4.1&r2=1.2.4.1.2.1&diff_format=u Index: php-src/ext/oci8/tests/connect.inc diff -u php-src/ext/oci8/tests/connect.inc:1.2.4.1 php-src/ext/oci8/tests/connect.inc:1.2.4.1.2.1 --- php-src/ext/oci8/tests/connect.inc:1.2.4.1 Thu Dec 1 13:39:47 2005 +++ php-src/ext/oci8/tests/connect.inc Tue Dec 12 13:00:01 2006 @@ -1,13 +1,6 @@ <?php -/* - * Please, change user, password and dbase to match your configuration. - * - * */ - -$user = "system"; -$password = "system"; -$dbase = "oracle"; +include "details.inc"; /* * You should have privileges to create tables in this schema http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/lob_029.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/oci8/tests/lob_029.phpt diff -u php-src/ext/oci8/tests/lob_029.phpt:1.1.2.2 php-src/ext/oci8/tests/lob_029.phpt:1.1.2.3 --- php-src/ext/oci8/tests/lob_029.phpt:1.1.2.2 Tue Dec 12 09:33:33 2006 +++ php-src/ext/oci8/tests/lob_029.phpt Tue Dec 12 13:00:01 2006 @@ -1,7 +1,10 @@ --TEST-- reading/writing BFILE LOBs --SKIPIF-- -<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?> +<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); +include "details.inc"; +if (empty($oracle_on_localhost)) die("skip this test won't work with remote Oracle"); +?> --FILE-- <?php http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/details.inc?view=markup&rev=1.1 Index: php-src/ext/oci8/tests/details.inc +++ php-src/ext/oci8/tests/details.inc <?php /* * Please, change user, password and dbase to match your configuration. * * */ $user = "system"; $password = "system"; $dbase = "oracle"; /* Set this variable to TRUE if Oracle is installed @ localhost */ $oracle_on_localhost = FALSE; ?>

« previous php.cvs (#42075) next »