]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-unix.t
t/httpd-unix: FreeBSD expects to fail with EADDRINUSE
[public-inbox.git] / t / httpd-unix.t
index f7881cfaf0094eb892a5ec80f11b99b6653ff3f0..ceec127caa366b0001c1ba688891ce30875747b8 100644 (file)
@@ -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];