]> git.dujemihanovic.xyz Git - linux.git/commit
bpf/selftests: Fix ASSERT_OK condition check in uprobe_syscall test
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jul 2024 18:08:47 +0000 (20:08 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 30 Jul 2024 20:42:24 +0000 (13:42 -0700)
commit7764b9622db4382b2797b54a70f292c8da6ef417
tree849b01b4dc7b6094ed79beb752130f697dc24088
parent41c24102af7b6236277a214428b203d51a3462df
bpf/selftests: Fix ASSERT_OK condition check in uprobe_syscall test

Fixing ASSERT_OK condition check in uprobe_syscall test,
otherwise we return from test on pipe success.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240726180847.684584-1-jolsa@kernel.org
tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c