* [PATCH] t/httpd-unix: FreeBSD expects to fail with EADDRINUSE
@ 2019-11-28 7:08 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-11-28 7:08 UTC (permalink / raw)
To: meta
Tested FreeBSD 11.2. I'm starting to think I'm too conservative
with this check and it could be safely expanded to cover any OS
with UNIX sockets.
---
t/httpd-unix.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/httpd-unix.t b/t/httpd-unix.t
index f7881cfa..ceec127c 100644
--- a/t/httpd-unix.t
+++ b/t/httpd-unix.t
@@ -59,7 +59,7 @@ sub check_sock ($) {
check_sock($unix);
{ # do not clobber existing socket
- my %err = ( 'linux' => EADDRINUSE );
+ my %err = ( 'linux' => EADDRINUSE, 'freebsd' => EADDRINUSE );
open my $out, '>>', "$tmpdir/1" or die "redirect failed: $!";
open my $err, '>>', "$tmpdir/2" or die "redirect failed: $!";
my $cmd = ['-httpd', '-l', $unix, '-W0', $psgi];
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-28 7:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 7:08 [PATCH] t/httpd-unix: FreeBSD expects to fail with EADDRINUSE Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).