diff --git a/tests/integration.rs b/tests/integration.rs index 80075f8a6..14d631d60 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -691,7 +691,7 @@ mod tests { cache_size: Option, ) -> Result { let shm_region = self - .ssh_command("sudo -E bash -c 'cat /proc/iomem' | grep virtio-pci-shm")? + .ssh_command("sudo grep virtio-pci-shm /proc/iomem")? .trim() .to_string();