Update test/libc/sock/unix_test.c

Co-authored-by: Gavin Hayes <hayesgav@gmail.com>
This commit is contained in:
Neko Hz 2024-05-08 17:32:59 +08:00 committed by GitHub
parent b4af492c6e
commit aabc834374
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,7 +123,6 @@ TEST(unix, stream_absolute) {
int ws;
if (IsWindows() && !IsAtLeastWindows10()) return;
atomic_bool *ready = _mapshared(1);
// TODO(jart): move this line down when kFdProcess is gone
ASSERT_SYS(0, 3, socket(AF_UNIX, SOCK_STREAM, 0));
if (!fork()) {
close(3);