diff options
| author | KaFai Wan <kafai.wan@linux.dev> | 2026-10-12 22:02:00 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-16 00:34:10 +0000 |
| commit | cc4b1c161d92992544cc571a2475baa5b072e120 (patch) | |
| tree | 9e3e9d86d04ef101a0b70fa4046a9032347e06eb /scripts/Makefile.thinlto | |
| parent | c87652656a55e5e8cf994364314a75fa95fb2d69 (diff) | |
selftests/bpf: Skip expected_msgs subtests when stdout is not saved
stdio_hijack_init() does not set subtest_state->stdout_saved when
running with -v in non-parallel mode, since output goes straight to
stdout. In that case subtest_state->log_buf is left NULL, so the
expected-messages subtests crash when inspecting it. Skip them when
stdout was not saved.
Fixes: 34c513be3dad ("selftests/bpf: __not_msg() tag for test_loader framework")
Signed-off-by: KaFai Wan <kafai.wan@linux.dev>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261012140202.2754552-3-kafai.wan@linux.dev
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
