summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2020-07-07 10:12:19 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2020-07-09 01:35:28 +0300
commit3220fb667842a9725cbb71656f406eadb03c094b (patch)
treeac1467c3fce6f81258d4583bbaaf81302544a2d2 /virt
parent625eb8e85e913273cd9441329a82b4e3496b30cd (diff)
downloadlinux-3220fb667842a9725cbb71656f406eadb03c094b.tar.xz
selftests/bpf: test_progs use another shell exit on non-actions
This is a follow up adjustment to commit 6c92bd5cd465 ("selftests/bpf: Test_progs indicate to shell on non-actions"), that returns shell exit indication EXIT_FAILURE (value 1) when user selects a non-existing test. The problem with using EXIT_FAILURE is that a shell script cannot tell the difference between a non-existing test and the test failing. This patch uses value 2 as shell exit indication. (Aside note unrecognized option parameters use value 64). Fixes: 6c92bd5cd465 ("selftests/bpf: Test_progs indicate to shell on non-actions") Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/159410593992.1093222.90072558386094370.stgit@firesoul
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions