[check_postgres] [commit] More space stuff.

check_postgres at bucardo.org check_postgres at bucardo.org
Thu Apr 9 18:36:13 UTC 2009


Committed by Greg Sabino Mullane <greg at endpoint.com>

More space stuff.

---
 t/CP_Testing.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/CP_Testing.pm b/t/CP_Testing.pm
index ecd535a..1871972 100644
--- a/t/CP_Testing.pm
+++ b/t/CP_Testing.pm
@@ -97,7 +97,7 @@ sub test_database_handle {
 
 		unlink $logfile;
 
-		$com = "LC_ALL=en LANG=C pg_ctl -o '-k socket' -l $logfile -D $dbdir/data start";
+		$com = qq{LC_ALL=en LANG=C pg_ctl -o '-k socket' -l $logfile -D "$dbdir/data" start};
 		eval {
 			$info = qx{$com};
 		};
@@ -126,7 +126,7 @@ sub test_database_handle {
 	} ## end of needs startup
 
 	my $here = cwd();
-	my $dsn = qq{dbi:Pg:host="$here/$dbdir/data/socket;dbname=postgres"};
+	my $dsn = qq{dbi:Pg:host="$here/$dbdir/data/socket";dbname=postgres};
 	my @superdsn = ($dsn, '', '', {AutoCommit=>0,RaiseError=>1,PrintError=>0});
 	my $dbh = DBI->connect(@superdsn);
 	$dbh->ping() or die qq{Failed to ping!\n};
-- 
1.6.0.5



More information about the Check_postgres mailing list