Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unix domain socket tests on Windows #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions perl/t/02-unix_domain_socket.t
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@ if ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bSocket\b/) {
} elsif (! $can_fork) {
plan skip_all => 'no fork';
} elsif ($^O eq 'MSWin32') {
if ($ENV{CONTINUOUS_INTEGRATION}) {
# https://github.com/Perl/perl5/issues/17429
plan skip_all => 'Skipping on Windows CI';
} else {
# https://github.com/Perl/perl5/issues/17575
if (! eval { socket(my $sock, PF_UNIX, SOCK_STREAM, 0) }) {
plan skip_all => "AF_UNIX unavailable or disabled on this platform"
}
}
plan skip_all => "FCGI with UNIX domain sockets not implemented on $^O";
}

my (undef, $unix_socket_file) = tempfile();
Expand Down