diff --git a/tests/integration.rs b/tests/integration.rs index 2325c773a..458f6da68 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -2813,6 +2813,10 @@ mod common_parallel { "--platform", &format!("num_pci_segments={MAX_NUM_PCI_SEGMENTS},iommu_segments=[1]"), ]) + .args([ + "--landlock-rules", + format!("path={:?},flags=rw", test_disk_path).as_str(), + ]) .default_disks() .capture_output() .default_net(); @@ -5172,7 +5176,14 @@ mod common_parallel { .args(["--memory", "size=512M"]) .args(["--kernel", kernel_path.to_str().unwrap()]) .args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE]) - .args(["--landlock-rules", format!("path={:?},flags=rw", blk_file_path.as_path().to_str().unwrap()).as_str()]) + .args([ + "--landlock-rules", + format!( + "path={:?},flags=rw", + blk_file_path.as_path().to_str().unwrap() + ) + .as_str(), + ]) .default_disks() .default_net() .capture_output()