diff options
| author | Roman Kvasnytskyi <roman@kvasnytskyi.net> | 2026-05-16 15:06:25 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-19 05:03:22 +0300 |
| commit | 6df582112aa9ac9d190169abdb0e42e496659ec9 (patch) | |
| tree | cb7f35ae13f0f92579db06093aa1cefa777f1d3f /include | |
| parent | 879daba303f7d7c3057f4d218921621e751f1912 (diff) | |
| download | linux-6df582112aa9ac9d190169abdb0e42e496659ec9.tar.xz | |
selftests/bpf: Reject unsupported -k option in vmtest.sh
vmtest.sh does not document a -k option and does not handle it in the
getopts case statement. However, the getopts optstring includes k, which
causes the script to accept -k silently instead of reporting it as an
invalid option.
Remove k from the optstring so unsupported options are rejected through
the existing invalid-option path.
Fixes: c9709f52386d ("bpf: Helper script for running BPF presubmit tests")
Signed-off-by: Roman Kvasnytskyi <roman@kvasnytskyi.net>
Acked-by: Paul Chaignon <paul.chaignon@gmail.com>
Link: https://lore.kernel.org/r/20260516120625.80839-1-roman@kvasnytskyi.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
