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:
Brent Baude
2023-09-17 09:10:00 -05:00
parent 7133f5d388
commit 33a92aa006
5 changed files with 35 additions and 9 deletions

View File

@ -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
}