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.
This commit is contained in:
Chris Lu committed 2026-10-22 03:19:04 -07:00
1 parent d5125249f8
commit 2431c20e55
1 file changed
+3 -1
+3 -1
View File
@@ -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
}