mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 02:45:16 +01:00
fd39cbc193
The tests are now run for the mount commands and for the plain VFS. This makes the tests much easier to debug when running with a VFS than through a mount.
18 lines
362 B
Go
18 lines
362 B
Go
// +build linux,go1.13 darwin,go1.13 freebsd,go1.13
|
|
|
|
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)
|
|
}
|