Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

[svn:dbd-oracle] r2322 - dbd-oracle/branches/pythian/t
Author: timbo
Date: Wed Dec 21 10:25:10 2005
New Revision: 2322

Modified:
dbd-oracle/branches/pythian/t/10general.t
dbd-oracle/branches/pythian/t/20select.t
Log:
Add basic subprocess wait()/waitpid() check.
Fix test count in 20select.t


Modified: dbd-oracle/branches/pythian/t/10general.t
 ====================
 ====================
 ====================
================
==
--- dbd-oracle/branches/pythian/t/10general.t	(original)
+++ dbd-oracle/branches/pythian/t/10general.t	Wed Dec 21 10:25:10 2005
@@ -4,9 +4,10 @@ use Test::More;

use DBI;
use Oraperl;
+use Config;
$| = 1;

-plan tests => 31;
+plan tests => 33;

my $dbuser = $ENV{ORACLE_USERID} || 'scott/tiger';
my $dbh = DBI-> connect('dbi:Oracle:
', $dbuser, '');
@@ -18,6 +19,14 @@ unless($dbh) {

my($sth, $p1, $p2, $tmp);

+SKIP: {
+	skip "not unix-like", 2 unless $Config{d_semctl};
+	# basic check that we can fork subprocesses and wait for the status
+	is system("false"), 1<<8, 'system false should return 256';
+	is system("true"),     0, 'system true should return 0';
+}
+
+
$sth = $dbh->prepare(q{
/* also test preparse doesn't get confused by ? :1 */
/* also test placeholder binding is case insensitive */

Modified: dbd-oracle/branches/pythian/t/20select.t
 ====================
 ====================
 ====================
================
==
--- dbd-oracle/branches/pythian/t/20select.t	(original)
+++ dbd-oracle/branches/pythian/t/20select.t	Wed Dec 21 10:25:10 2005
@@ -53,8 +53,8 @@ my @test_sets = (
#	Normal  value 8 (to test 64KB threshold well)
my $sz = 8;

-my $tests = 2;
-my $tests_per_set = 12;
+my $tests = 3;
+my $tests_per_set = 11;
$tests += @test_sets * $tests_per_set;
print "1..$tests\n";


Report this thread to moderator Post Follow-up to this message
Old Post
timbo@cvs.perl.org
12-21-05 06:24 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Oracle PERL DBD archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:19 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006