diff options
author | Helge Deller <deller@gmx.de> | 2023-08-18 00:02:40 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-08-18 17:08:42 +0200 |
commit | b6594a17ecce03ca70a3f36783924635eea5499d (patch) | |
tree | a595e59badfee06ee739fa88226030f0d20ece8e /tools/lib/bpf/libbpf.c | |
parent | 6c77997bc63982ab718662fee0bff6756d3116bc (diff) |
bpf/tests: Enhance output on error and fix typos
If a testcase returns a wrong (unexpected) value, print the expected and
returned value in hex notation in addition to the decimal notation.
This is very useful in tests which bit-shift hex values left or right and
helped me a lot while developing the JIT compiler for the hppa architecture.
Additionally fix two typos: dowrd -> dword, tall calls -> tail calls.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/ZN6ZAAVoWZpsD1Jf@p100
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions