mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 22:11:39 +02:00
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:
1 parent
d5125249f8
commit
2431c20e55
1 file changed
+3
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user