tests: remove redundant arch check in bzimage test
test_direct_kernel_boot_bzimage runs only on x86, so the cfg!() branch for selecting grep_cmd is unnecessary. Remove it for clarity. Signed-off-by: Anirudh Rayabharam <anrayabh@microsoft.com>
This commit is contained in:
parent
a51998605a
commit
6e002defe2
1 changed files with 1 additions and 5 deletions
|
|
@ -3342,11 +3342,7 @@ mod common_parallel {
|
|||
assert_eq!(guest.get_cpu_count().unwrap_or_default(), 1);
|
||||
assert!(guest.get_total_memory().unwrap_or_default() > 480_000);
|
||||
|
||||
let grep_cmd = if cfg!(target_arch = "x86_64") {
|
||||
"grep -c PCI-MSI /proc/interrupts"
|
||||
} else {
|
||||
"grep -c ITS-PCI-MSIX /proc/interrupts"
|
||||
};
|
||||
let grep_cmd = "grep -c PCI-MSI /proc/interrupts";
|
||||
assert_eq!(
|
||||
guest
|
||||
.ssh_command(grep_cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue