diff options
author | 2020-03-13 10:23:33 -0700 | |
---|---|---|
committer | 2020-03-13 23:30:53 +0100 | |
commit | 3e2671fb9a95d2b46990832466383ec8384d88a3 (patch) | |
tree | b71e83c60faef2de1a4704f4e10bad681227c461 /tools/lib/bpf/libbpf.c | |
parent | selftests/bpf: Fix spurious failures in accept due to EAGAIN (diff) | |
download | linux-dev-3e2671fb9a95d2b46990832466383ec8384d88a3.tar.xz linux-dev-3e2671fb9a95d2b46990832466383ec8384d88a3.zip |
selftests/bpf: Ensure consistent test failure output
printf() doesn't seem to honor using overwritten stdout/stderr (as part of
stdio hijacking), so ensure all "standard" invocations of printf() do
fprintf(stdout, ...) instead.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200313172336.1879637-2-andriin@fb.com
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions