Merge pull request #12381 from jayesh-srivastava/master
Updated version.go with crun versionpull/12446/head
commit
3e25ee3dfe
|
|
@ -63,6 +63,7 @@ var versionCmd = &cobra.Command{
|
|||
"buildctl": exec.Command("buildctl", "--version"),
|
||||
"ctr": exec.Command("ctr", "--version"),
|
||||
"runc": exec.Command("runc", "--version"),
|
||||
"crun": exec.Command("crun", "--version"),
|
||||
}
|
||||
for k, v := range versionCMDS {
|
||||
rr, err := runner.RunCmd(v)
|
||||
|
|
|
|||
|
|
@ -2137,7 +2137,7 @@ func validateVersionCmd(ctx context.Context, t *testing.T, profile string) {
|
|||
t.Errorf("error version: %v", err)
|
||||
}
|
||||
got := rr.Stdout.String()
|
||||
for _, c := range []string{"buildctl", "commit", "containerd", "crictl", "crio", "ctr", "docker", "minikubeVersion", "podman", "run"} {
|
||||
for _, c := range []string{"buildctl", "commit", "containerd", "crictl", "crio", "ctr", "docker", "minikubeVersion", "podman", "run", "crun"} {
|
||||
if !strings.Contains(got, c) {
|
||||
t.Errorf("expected to see %q in the minikube version --components but got:\n%s", c, got)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue