tests: Update interrupt group name on ARM

This has changed with kernel 6.12.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2024-12-13 12:35:48 +00:00
parent 94513cc911
commit b01e199683

View File

@ -1323,7 +1323,7 @@ fn test_vhost_user_net(
#[cfg(target_arch = "x86_64")]
let grep_cmd = "grep -c PCI-MSI /proc/interrupts";
#[cfg(target_arch = "aarch64")]
let grep_cmd = "grep -c ITS-MSI /proc/interrupts";
let grep_cmd = "grep -c ITS-PCI-MSIX /proc/interrupts";
assert_eq!(
guest
.ssh_command(grep_cmd)
@ -2876,7 +2876,7 @@ mod common_parallel {
#[cfg(target_arch = "x86_64")]
let grep_cmd = "grep -c PCI-MSI /proc/interrupts";
#[cfg(target_arch = "aarch64")]
let grep_cmd = "grep -c ITS-MSI /proc/interrupts";
let grep_cmd = "grep -c ITS-PCI-MSIX /proc/interrupts";
let r = std::panic::catch_unwind(|| {
assert_eq!(
@ -3153,7 +3153,7 @@ mod common_parallel {
let grep_cmd = if cfg!(target_arch = "x86_64") {
"grep -c PCI-MSI /proc/interrupts"
} else {
"grep -c ITS-MSI /proc/interrupts"
"grep -c ITS-PCI-MSIX /proc/interrupts"
};
assert_eq!(
guest
@ -3203,7 +3203,7 @@ mod common_parallel {
let grep_cmd = if cfg!(target_arch = "x86_64") {
"grep -c PCI-MSI /proc/interrupts"
} else {
"grep -c ITS-MSI /proc/interrupts"
"grep -c ITS-PCI-MSIX /proc/interrupts"
};
assert_eq!(
guest