From 2431c20e55cee42791558cf8139022ae83c2b784 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 22 Oct 2026 03:19:04 -0700 Subject: [PATCH] fuse integration: skip the sendfile test on macOS macOS sendfile(2) only accepts a socket destination; the test copies into a regular file and always gets ENOTSOCK. --- test/fuse_integration/sendfile_darwin.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/fuse_integration/sendfile_darwin.go b/test/fuse_integration/sendfile_darwin.go index 38551bc6e4..1042ba7a08 100644 --- a/test/fuse_integration/sendfile_darwin.go +++ b/test/fuse_integration/sendfile_darwin.go @@ -39,5 +39,7 @@ func sendfileTransfer(outFd int, inFd int, offset *int64, count int) (int, error } func isSendfileSupported() bool { - return true + // macOS sendfile(2) requires a socket destination; file-to-file copies + // fail with ENOTSOCK. + return false }