Lorenz Bauer
603fba9dfd
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 <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200124112754.19664-4-lmb@cloudflare.com
2020-01-24 22:12:13 +01:00
..
2019-12-02 15:20:05 -03:00
2020-01-24 11:09:56 +01:00
2019-11-26 11:17:45 -03:00
2019-09-10 12:31:39 -06:00
2019-11-13 13:46:04 +01:00
2019-11-21 20:10:44 -05:00
2019-11-10 17:11:06 +00:00
2020-01-23 08:10:16 +01:00
2020-01-23 08:10:16 +01:00
2019-10-05 11:59:44 -07:00
2019-11-26 15:04:47 -08:00
2019-10-29 12:04:18 +00:00
2020-01-23 08:10:16 +01:00
2019-12-01 18:24:25 -08:00
2020-01-24 22:12:13 +01:00
2019-11-07 11:25:01 +01:00
2019-10-13 09:38:27 -04:00