Author: turnstep
Date: Mon May 12 06:47:54 2008
New Revision: 11255
Modified:
DBD-Pg/trunk/t/dbdpg_test_setup.pl
Log:
Just in case, force listen_address to localhost on Windows.
Modified: DBD-Pg/trunk/t/dbdpg_test_setup.pl
==============================================================================
--- DBD-Pg/trunk/t/dbdpg_test_setup.pl (original)
+++ DBD-Pg/trunk/t/dbdpg_test_setup.pl Mon May 12 06:47:54 2008
@@ -323,7 +323,9 @@
$@ = qq{Could not open "$conf": $!};
last GETHANDLE;
}
- print $cfh "\n\n## DBD::Pg testing
parameters\nport=$testport\nmax_connections=3\n\n";
+ print $cfh "\n\n## DBD::Pg testing
parameters\nport=$testport\nmax_connections=3\n";
+ print $cfh "listen_addresses='localhost'\n" if $^O =~ /Win32/;
+ print $cfh "\n";
close $cfh or die qq{Could not close "$conf": $!\n};
## Attempt to start up the test server