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