diff options
| author | Jesper Dangaard Brouer <[email protected]> | 2020-07-01 21:44:07 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-07-01 22:22:13 +0000 |
| commit | 6c92bd5cd4650c39dd929565ee172984c680fead (patch) | |
| tree | 3c5b7fb035f4fcdf4389d46bf4c1bd6f0c625e8b /tools/testing/selftests/bpf/prog_tests/tcp_rtt.c | |
| parent | tools/bpftool: Turn off -Wnested-externs warning (diff) | |
| download | kernel-6c92bd5cd4650c39dd929565ee172984c680fead.tar.gz kernel-6c92bd5cd4650c39dd929565ee172984c680fead.zip | |
selftests/bpf: Test_progs indicate to shell on non-actions
When a user selects a non-existing test the summary is printed with
indication 0 for all info types, and shell "success" (EXIT_SUCCESS) is
indicated. This can be understood by a human end-user, but for shell
scripting is it useful to indicate a shell failure (EXIT_FAILURE).
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/159363984736.930467.17956007131403952343.stgit@firesoul
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_rtt.c')
0 files changed, 0 insertions, 0 deletions
