test/e2e: Introduce SkipIfNotAMD64 helper

Signed-off-by: Ricardo Branco <rbranco@suse.de>
This commit is contained in:
Ricardo Branco
2026-03-12 14:09:04 +01:00
parent e5f61281ff
commit a5dbe484d3

View File

@@ -1788,3 +1788,9 @@ func makeTempDirInDir(dir string) string {
func skipWithoutDevNullb0() {
SkipIfNotExist("use modprobe null_blk nr_devices=1 to create it", "/dev/nullb0")
}
func SkipIfNotAMD64() {
if podmanTest.Host.Arch != "amd64" {
Skip("test only valid on amd64")
}
}