2020-02-27 00:28:55 +08:00
|
|
|
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
|
2017-05-13 16:03:40 +08:00
|
|
|
|
2017-05-03 05:35:07 +08:00
|
|
|
package mount
|
|
|
|
|
|
|
|
import (
|
2019-09-19 22:10:51 +08:00
|
|
|
"runtime"
|
2017-05-03 05:35:07 +08:00
|
|
|
"testing"
|
|
|
|
|
2019-07-29 01:47:38 +08:00
|
|
|
"github.com/rclone/rclone/cmd/mountlib/mounttest"
|
2017-05-03 05:35:07 +08:00
|
|
|
)
|
|
|
|
|
2018-04-08 18:18:15 +08:00
|
|
|
func TestMount(t *testing.T) {
|
2019-09-19 22:10:51 +08:00
|
|
|
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")
|
|
|
|
}
|
2018-04-08 18:18:15 +08:00
|
|
|
mounttest.RunTests(t, mount)
|
|
|
|
}
|