[svn:DBD-Pg] r14546 - in DBD-Pg/trunk: . t

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: theory
Date: Mon Nov 22 20:15:26 2010
New Revision: 14546

Modified:
   DBD-Pg/trunk/Changes
   DBD-Pg/trunk/t/01connect.t

Log:
Fix number of tests to skip in t/01connect.t.



Modified: DBD-Pg/trunk/Changes
==============================================================================
--- DBD-Pg/trunk/Changes	(original)
+++ DBD-Pg/trunk/Changes	Mon Nov 22 20:15:26 2010
@@ -1,5 +1,10 @@
 'GSM' is Greg Sabino Mullane, greg-738XdyZ4GzZWk0Htik3J/[email protected])
 
+2.17.3
+
+  - Fixed the number of tests to skip in t/01connect.t when the $DBI_DSN
+    environment variable lacks a database specification.
+
 2.17.2 Released November 21, 2010 (subversion r14542)
 
   - Support dequoting of hex bytea format for 9.0.

Modified: DBD-Pg/trunk/t/01connect.t
==============================================================================
--- DBD-Pg/trunk/t/01connect.t	(original)
+++ DBD-Pg/trunk/t/01connect.t	Mon Nov 22 20:15:26 2010
@@ -70,7 +70,7 @@
 SKIP: {
 	my $alias = qr{(database|db|dbname)};
 	if ($ENV{DBI_DSN} !~ /$alias\s*=\s*\S+/) {
-		skip ('DBI_DSN contains no database option, so skipping connection tests', 5);
+		skip ('DBI_DSN contains no database option, so skipping connection tests', 7);
 	}
 
 	$t=q{Connect with invalid option fails};
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.