mirror of
https://github.com/rclone/rclone.git
synced 2024-11-28 19:34:55 +01:00
28 lines
724 B
Go
28 lines
724 B
Go
//go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows) && (!race || !windows)
|
|
// +build cmount
|
|
// +build linux,cgo darwin,cgo freebsd,cgo windows
|
|
// +build !race !windows
|
|
|
|
// Package cmount implements a FUSE mounting system for rclone remotes.
|
|
//
|
|
// FIXME this doesn't work with the race detector under Windows either
|
|
// hanging or producing lots of differences.
|
|
|
|
package cmount
|
|
|
|
import (
|
|
"runtime"
|
|
"testing"
|
|
|
|
"github.com/rclone/rclone/fstest/testy"
|
|
"github.com/rclone/rclone/vfs/vfstest"
|
|
)
|
|
|
|
func TestMount(t *testing.T) {
|
|
// Disable tests under macOS and the CI since they are locking up
|
|
if runtime.GOOS == "darwin" {
|
|
testy.SkipUnreliable(t)
|
|
}
|
|
vfstest.RunTests(t, false, mount)
|
|
}
|