diff --git a/pkg/machine/e2e/config_test.go b/pkg/machine/e2e/config_test.go index 6c7466b829..0e4e0b4e96 100644 --- a/pkg/machine/e2e/config_test.go +++ b/pkg/machine/e2e/config_test.go @@ -236,10 +236,8 @@ func isWSL() bool { return isVmtype(define.WSLVirt) } +//nolint:unused func runSystemCommand(binary string, cmdArgs []string, timeout time.Duration, wait bool) (*machineSession, error) { - if len(os.Getenv("DEBUG")) > 0 { - cmdArgs = append([]string{"--log-level=debug"}, cmdArgs...) - } GinkgoWriter.Println(binary + " " + strings.Join(cmdArgs, " ")) c := exec.Command(binary, cmdArgs...) session, err := Start(c, GinkgoWriter, GinkgoWriter) diff --git a/pkg/machine/e2e/init_windows_test.go b/pkg/machine/e2e/init_windows_test.go index 4cfb36fe64..e19b4a53b0 100644 --- a/pkg/machine/e2e/init_windows_test.go +++ b/pkg/machine/e2e/init_windows_test.go @@ -78,7 +78,7 @@ var _ = Describe("podman machine init - windows only", func() { Expect(session.errorToString()).To(ContainSubstring("already exists on hypervisor")) }) - It("init should not should not overwrite existing HyperV vms", func() { + It("init should not overwrite existing WSL vms", func() { skipIfNotVmtype(define.WSLVirt, "WSL test only") var (