Force tests to use port 5432 in case PGPORT is conflicting.
authorGreg Sabino Mullane <[email protected]>
Mon, 11 Feb 2013 21:23:46 +0000 (16:23 -0500)
committerGreg Sabino Mullane <[email protected]>
Mon, 11 Feb 2013 21:23:46 +0000 (16:23 -0500)
t/CP_Testing.pm

index f12831f42698a0ed57f8612daa4071b9442cadc0..292ff5a366296f87337c681b3cbdcbef8d161d70 100644 (file)
@@ -429,7 +429,7 @@ sub run {
     my $dbuser = $self->{testuser} || die 'No testuser?';
     my $dbname = $self->{dbname} || die 'No dbname?';
 
-    my $com = qq{perl check_postgres.pl --no-check_postgresrc --action=$action};
+    my $com = qq{perl check_postgres.pl --no-check_postgresrc --dbport=5432 --action=$action};
     if ($extra !~ /dbhost/) {
         $com .= qq{ --dbhost="$dbhost"};
     }