-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ELF tests a bit #479
Fix ELF tests a bit #479
Conversation
Codecov Report
@@ Coverage Diff @@
## main #479 +/- ##
==========================================
+ Coverage 89.93% 89.96% +0.02%
==========================================
Files 23 23
Lines 10200 10200
==========================================
+ Hits 9173 9176 +3
+ Misses 1027 1024 -3
|
@@ -3128,17 +3128,6 @@ fn test_load_elf_rodata_sbpfv1() { | |||
); | |||
} | |||
|
|||
#[test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this test pointless now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep this is the default behaviour tested by test_load_elf_rodata
now. And I added test_load_elf_rodata_sbpfv1
that checks the same without virtual addresses.
Fix the vaddr layout for sbpfv2 files. Add _sbpfv1 suffix to v1 tests.
c79c592
to
e724611
Compare
Fix the vaddr layout for sbpfv2 files. Add _sbpfv1 suffix to v1 tests.