Skip to content

Commit

Permalink
Fix existing test
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Nov 8, 2024
1 parent 00c6695 commit 2dd1acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2347,6 +2347,7 @@ fn test_callx() {

#[test]
fn test_err_callx_unregistered() {
// We execute three instructions when callx errors out.
test_interpreter_and_jit_asm!(
"
mov64 r0, 0x0
Expand All @@ -2356,7 +2357,7 @@ fn test_err_callx_unregistered() {
mov64 r0, 0x2A
exit",
[],
TestContextObject::new(4),
TestContextObject::new(3),
ProgramResult::Err(EbpfError::UnsupportedInstruction),
);
}
Expand Down

0 comments on commit 2dd1acf

Please sign in to comment.