Skip to content

Commit 43d8bb8

Browse files
committed
For test databases, avoid unix sockets if we are on Windows
1 parent fb0b9ec commit 43d8bb8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

t/dbdpg_test_setup.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,11 @@ sub build_command {
787787
exit 1;
788788
}
789789

790+
## If this is Windows, do not specify a socket directory
791+
if ($^O =~ /Win32/) {
792+
$string =~ s/-o '-k .*?' -l/-l/;
793+
}
794+
790795
my $debug = $ENV{DBDPG_DEBUG} || 0;
791796
$debug and Test::More::diag "Built command: ($string)";
792797

0 commit comments

Comments
 (0)