build: disable cmount tests under macOS and the CI since they are locking up

This fixes #5951 and allows the macOS builds to run again

See #5960 for more info.
This commit is contained in:
Nick Craig-Wood
2022-01-27 09:38:24 +00:00
parent 5826cc9d9e
commit 83b6b62c1b
3 changed files with 16 additions and 0 deletions

View File

@@ -10,11 +10,17 @@
package cmount
import (
"runtime"
"testing"
"github.com/rclone/rclone/fstest/testy"
"github.com/rclone/rclone/vfs/vfstest"
)
func TestMount(t *testing.T) {
// Disable tests under macOS and the CI since they are locking up
if runtime.GOOS == "darwin" {
testy.SkipUnreliable(t)
}
vfstest.RunTests(t, false, mount)
}