From: Eric Wong Date: Sun, 30 Jun 2019 22:37:00 +0000 (+0000) Subject: Merge remote-tracking branch 'origin/nntp' X-Git-Tag: v1.2.0~130 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0f1da9d213e16946371b5c140b1c55b7231a8cd5;hp=5769d488526b88a394b4b6741e77dd0e7441d248;p=public-inbox.git Merge remote-tracking branch 'origin/nntp' * origin/nntp: nntp: add support for CAPABILITIES command nntp: remove DISABLED hash checks --- diff --git a/t/httpd-unix.t b/t/httpd-unix.t index 758277c9..04f4b8fa 100644 --- a/t/httpd-unix.t +++ b/t/httpd-unix.t @@ -42,8 +42,9 @@ my $spawn_httpd = sub { ok(!-S $unix, 'UNIX socket does not exist, yet'); $spawn_httpd->("-l$unix"); +my %o = (Peer => $unix, Type => SOCK_STREAM); for (1..1000) { - last if -S $unix; + last if -S $unix && IO::Socket::UNIX->new(%o); select undef, undef, undef, 0.02 }