summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKaFai Wan <kafai.wan@linux.dev>2026-10-12 22:02:01 +0800
committerAlexei Starovoitov <ast@kernel.org>2026-10-16 00:34:10 +0000
commit7ebf808caa76c500d52a714f7dc39a1f4952c4d3 (patch)
tree2977e8d7c12b7d9e99b10910eaf154f7c57cb9ae /scripts
parentcc4b1c161d92992544cc571a2475baa5b072e120 (diff)
selftests/bpf: Skip compare_text subtest 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 compare_text_mismatch subtest crashes when inspecting it. Skip it when stdout was not saved. Fixes: bd71904697c6 ("selftests/bpf: Add compare_text_to_expected() helper") Signed-off-by: KaFai Wan <kafai.wan@linux.dev> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261012140202.2754552-4-kafai.wan@linux.dev
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions