Add multicast test that works on Linux

This test unfortunately doesn't work yet on non-Linux platforms, which
wasn't what I expected since the ip_mreq ABI is the same across all of
our supported platforms. There's also an automation issue due to using
INADDR_ANY since it causes popups on Windows.
This commit is contained in:
Justine Tunney 2023-02-03 13:58:13 -08:00
parent 4b8874ceb9
commit d0ad50f5ae
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 111 additions and 0 deletions

View file

@ -82,6 +82,11 @@ o/$(MODE)/test/libc/sock/recvmsg_test.com.runs: \
o/$(MODE)/test/libc/sock/shutdown_test.com.runs: \
private .PLEDGE = stdio rpath wpath cpath fattr proc inet
o/$(MODE)/test/libc/sock/multicast_test.com.runs: \
private .UNSANDBOXED = 1
o/$(MODE)/test/libc/sock/multicast_test.com.runs: \
private .INTERNET = 1
$(TEST_LIBC_SOCK_OBJS): test/libc/sock/test.mk
.PHONY: o/$(MODE)/test/libc/sock