2020-02-26 16:28:55 +00:00
|
|
|
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
|
2017-05-13 08:03:40 +00:00
|
|
|
|
2017-05-02 21:35:07 +00:00
|
|
|
package mount
|
|
|
|
|
|
|
|
import (
|
2019-09-19 14:10:51 +00:00
|
|
|
"runtime"
|
2017-05-02 21:35:07 +00:00
|
|
|
"testing"
|
|
|
|
|
2020-04-16 12:33:46 +00:00
|
|
|
"github.com/rclone/rclone/vfs/vfstest"
|
2017-05-02 21:35:07 +00:00
|
|
|
)
|
|
|
|
|
2018-04-08 10:18:15 +00:00
|
|
|
func TestMount(t *testing.T) {
|
2019-09-19 14:10:51 +00: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")
|
|
|
|
}
|
2020-04-16 12:33:46 +00:00
|
|
|
vfstest.RunTests(t, false, mount)
|
2018-04-08 10:18:15 +00:00
|
|
|
}
|