github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/cmount/mount_test.go (about) 1 //go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows) && (!race || !windows) 2 3 // Package cmount implements a FUSE mounting system for rclone remotes. 4 // 5 // FIXME this doesn't work with the race detector under Windows either 6 // hanging or producing lots of differences. 7 8 package cmount 9 10 import ( 11 "runtime" 12 "testing" 13 14 "github.com/rclone/rclone/fstest/testy" 15 "github.com/rclone/rclone/vfs/vfscommon" 16 "github.com/rclone/rclone/vfs/vfstest" 17 ) 18 19 func TestMount(t *testing.T) { 20 // Disable tests under macOS and the CI since they are locking up 21 if runtime.GOOS == "darwin" { 22 testy.SkipUnreliable(t) 23 } 24 vfstest.RunTests(t, false, vfscommon.CacheModeOff, true, mount) 25 }