diff --git a/tests/integration.rs b/tests/integration.rs index 5fcef6b13..294be3399 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1054,8 +1054,9 @@ mod tests { dax: bool, cache_size: Option, ) -> Result { + // SHM region is called different things depending on kernel let shm_region = self - .ssh_command("sudo grep virtio-pci-shm /proc/iomem")? + .ssh_command("sudo grep 'virtio[0-9]\\|virtio-pci-shm' /proc/iomem")? .trim() .to_string();