rclone/cmd/mount/mount_test.go
2022-06-08 18:29:42 +01:00

21 lines
428 B
Go

//go:build linux || freebsd
// +build linux freebsd
package mount
import (
"runtime"
"testing"
"github.com/rclone/rclone/fstest/testy"
"github.com/rclone/rclone/vfs/vfstest"
)
func TestMount(t *testing.T) {
if runtime.NumCPU() <= 2 {
t.Skip("FIXME skipping mount tests as they lock up on <= 2 CPUs - See: https://github.com/rclone/rclone/issues/3154")
}
testy.SkipUnreliable(t)
vfstest.RunTests(t, false, mount)
}