OSDN Git Service

selftests/bpf: Use only stdout in un/load_bpf_testmod functions
authorJiri Olsa <jolsa@kernel.org>
Mon, 15 May 2023 13:37:50 +0000 (15:37 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 17 May 2023 05:09:23 +0000 (22:09 -0700)
commitd18decca69e36480247a73086336f4a44a08e36f
tree6d0fe35d59c3f20120b76850514069de60d7b420
parent45db310984bfea977177fb5fc0ea23ab430129bd
selftests/bpf: Use only stdout in un/load_bpf_testmod functions

We are about to use un/load_bpf_testmod functions in couple tests
and it's better  to print output to stdout,  so it's aligned with
tests ASSERT macros output, which use stdout as well.

Acked-by: David Vernet <void@manifault.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230515133756.1658301-5-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/testing_helpers.c