Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selftests/bpf/test_lirc_mode2.sh: exit with proper code #2744

Closed
wants to merge 2 commits into from

Conversation

kernel-patches-bot
Copy link

Pull request for series with
subject: selftests/bpf/test_lirc_mode2.sh: exit with proper code
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=625005

Nobody and others added 2 commits March 20, 2022 19:59
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: 6bdd533 ("bpf: add selftest for lirc_mode2 type program")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
@kernel-patches-bot
Copy link
Author

Master branch: 6bd0c76
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=625005
version: 1

@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=625005 irrelevant now. Closing PR.

@kernel-patches-bot kernel-patches-bot deleted the series/625005=>bpf branch March 21, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants