mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
test/e2e: Introduce SkipIfNotAMD64 helper
Signed-off-by: Ricardo Branco <rbranco@suse.de>
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user