mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Remove MSI only test from test_serial_off
Now we have a GED device we are not MSI only when the serial port is turned off. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
-12
@@ -2041,18 +2041,6 @@ mod tests {
|
|||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
|
||||||
// Further test that we're MSI only now
|
|
||||||
aver_eq!(
|
|
||||||
tb,
|
|
||||||
guest
|
|
||||||
.ssh_command("cat /proc/interrupts | grep -c 'IO-APIC'")
|
|
||||||
.unwrap_or_default()
|
|
||||||
.trim()
|
|
||||||
.parse::<u32>()
|
|
||||||
.unwrap_or(1),
|
|
||||||
0
|
|
||||||
);
|
|
||||||
|
|
||||||
guest.ssh_command("sudo shutdown -h now")?;
|
guest.ssh_command("sudo shutdown -h now")?;
|
||||||
thread::sleep(std::time::Duration::new(10, 0));
|
thread::sleep(std::time::Duration::new(10, 0));
|
||||||
let _ = child.kill();
|
let _ = child.kill();
|
||||||
|
|||||||
Reference in New Issue
Block a user