rclone/cmd/mount/mount_test.go

19 lines
362 B
Go
Raw Normal View History

2021-09-09 20:25:25 +08:00
//go:build linux || freebsd
2021-02-04 01:46:08 +08:00
// +build linux freebsd
package mount
import (
"runtime"
"testing"
"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")
}
vfstest.RunTests(t, false, mount)
}