aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2022-03-21 10:41:49 +0800
committerDaniel Borkmann <[email protected]>2022-03-21 14:48:06 +0100
commitec80906b0fbd7be11e3e960813b977b1ffe5f8fe (patch)
tree0d94dd846cb0de105812f7d8688179ae025f7cc2 /net/lapb/lapb_subr.c
parent7ada3787e91c89b0aa7abf47682e8e587b855c13 (diff)
selftests/bpf/test_lirc_mode2.sh: Exit with proper code
When test_lirc_mode2_user exec failed, the test report failed but still exit with 0. Fix it by exiting with an error code. Another issue is for the LIRCDEV checking. With bash -n, we need to quote the variable, or it will always be true. So if test_lirc_mode2_user was not run, just exit with skip code. Fixes: 6bdd533cee9a ("bpf: add selftest for lirc_mode2 type program") Signed-off-by: Hangbin Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions