fake images: windows hyperv

this pr is a follow on to #27493.  it adds support for hyperv "fake"
images and suggests a benefit in terms of test speed.  for hyperv, we
create a generic 4MB vhdx and stick it into the temp dir.  this saves us
from any image copy or compression.

i also followed up on a few comments Paul made about using windows|unix
instead of each platform.

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2025-11-11 14:39:45 -06:00
parent 1afe2ce6d3
commit d58dddee66
6 changed files with 60 additions and 29 deletions

View File

@@ -1,12 +1,3 @@
package e2e_test
import "os"
const podmanBinary = "../../../bin/podman-remote"
var fakeImagePath string = os.DevNull
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
i.image = fakeImagePath
return i
}