Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

mount: disable failing test TestWriteFileDoubleClose on OSX

Nick Craig-Wood473a388f6d47
diff --git a/cmd/mountlib/mounttest/write_unix.go b/cmd/mountlib/mounttest/write_unix.go
index 0d8256764..f9548c2af 100644
--- a/cmd/mountlib/mounttest/write_unix.go
+++ b/cmd/mountlib/mounttest/write_unix.go
@@ -3,6 +3,7 @@
package mounttest
import (
+ "runtime"
"syscall"
"testing"
@@ -12,6 +13,9 @@ import (
// TestWriteFileDoubleClose tests double close on write
func TestWriteFileDoubleClose(t *testing.T) {
run.skipIfNoFUSE(t)
+ if runtime.GOOS == "darwin" {
+ t.Skip("Skipping test on OSX")
+ }
out, err := osCreate(run.path("testdoubleclose"))
assert.NoError(t, err)