Skip to content
Snippets Groups Projects

Draft: selftests/bpf: Migrate a test from test_bpf

Open Muhammad Usama Anjum requested to merge bpf1 into next-20240207_

TODO before sending upstream: Think if shorter register definition macros should be kept or not.

Migrate INT: ADD trivial test from test_bpf to verifier. Set R0 to 0 explicitly at the end of bpf program. Otherwise, the verifier marks the test failed. The output of the verifier is as follows:

  ./test_verifier 0
  #0/u INT: ADD trivial OK
  #0/p INT: ADD trivial OK
  Summary: 2 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Muhammad Usama Anjum usama.anjum@collabora.com

Edited by Muhammad Usama Anjum

Merge request reports

Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading