diff options
author | Lorenz Bauer <[email protected]> | 2020-01-24 11:27:53 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-01-24 22:12:13 +0100 |
commit | 603fba9dfd0b2e2a844ece9ed98ce874c38aa98e (patch) | |
tree | c229d70bfa87159a5e75b95e3530215ff643a4a8 /scripts/bpf_helpers_doc.py | |
parent | 8bec4f665e0baecb5f1b683379fc10b3745eb612 (diff) |
selftests: bpf: Make reuseport test output more legible
Include the name of the mismatching result in human readable format
when reporting an error. The new output looks like the following:
unexpected result
result: [1, 0, 0, 0, 0, 0]
expected: [0, 0, 0, 0, 0, 0]
mismatch on DROP_ERR_INNER_MAP (bpf_prog_linum:153)
check_results:FAIL:382
Signed-off-by: Lorenz Bauer <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions