Draft: selftests/bpf: Migrate a test from test_bpf
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