mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Skip format and mount test on windows or mac
This commit is contained in:
parent
3f2e99b7e7
commit
389d5e48cb
@ -18,6 +18,7 @@ package mount
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"k8s.io/kubernetes/pkg/util/exec"
|
"k8s.io/kubernetes/pkg/util/exec"
|
||||||
@ -46,6 +47,9 @@ type ExecArgs struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSafeFormatAndMount(t *testing.T) {
|
func TestSafeFormatAndMount(t *testing.T) {
|
||||||
|
if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
|
||||||
|
t.Skipf("not supported on GOOS=%s", runtime.GOOS)
|
||||||
|
}
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
fstype string
|
fstype string
|
||||||
mountOptions []string
|
mountOptions []string
|
||||||
|
Loading…
Reference in New Issue
Block a user