mirror of
https://github.com/containers/podman.git
synced 2025-11-01 02:42:11 +08:00
Enable machine e2e test for applehv
This PR allows you to run the pkg/machine/e2e tests for the applehv PROVIDER. This does not mean they pass, only that they can run. There also appears to be leftover gvproxy processes at the conclusion of a single test. This will need to be corrected. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
|
||||
"github.com/containers/podman/v4/pkg/machine"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
)
|
||||
@ -20,3 +22,8 @@ func getDownloadLocation(p machine.VirtProvider) string {
|
||||
|
||||
return fcd.Location
|
||||
}
|
||||
|
||||
func pgrep(n string) (string, error) {
|
||||
out, err := exec.Command("pgrep", "gvproxy").Output()
|
||||
return string(out), err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user