mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
vmm: cpu: Fix aarch64 unit test
This fixes commit 2668dbbd8b
which changed
the error message.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
fbb21038cb
commit
d1c9002c48
@ -3009,7 +3009,7 @@ mod tests {
|
||||
assert!(res.is_err());
|
||||
assert_eq!(
|
||||
format!("{}", res.unwrap_err()),
|
||||
"Failed to get core register: Exec format error (os error 8)"
|
||||
"Failed to get aarch64 core register: Exec format error (os error 8)"
|
||||
);
|
||||
|
||||
let mut state = vcpu.create_standard_regs();
|
||||
@ -3017,7 +3017,7 @@ mod tests {
|
||||
assert!(res.is_err());
|
||||
assert_eq!(
|
||||
format!("{}", res.unwrap_err()),
|
||||
"Failed to set core register: Exec format error (os error 8)"
|
||||
"Failed to set aarch64 core register: Exec format error (os error 8)"
|
||||
);
|
||||
|
||||
vcpu.vcpu_init(&kvi).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user