summaryrefslogtreecommitdiff
path: root/tools/accounting
diff options
context:
space:
mode:
authorMatthieu Baerts <matthieu.baerts@tessares.net>2022-03-07 23:44:33 +0300
committerJakub Kicinski <kuba@kernel.org>2022-03-09 09:06:11 +0300
commit826d7bdca83328b101853b48ee6b5e9bb6a5f537 (patch)
tree8d19247da5bf62f9dad692d8bf3eab5e5f7ea09f /tools/accounting
parentea56dcb43c2054426c5a8d7befa8d993a060b26b (diff)
downloadlinux-826d7bdca83328b101853b48ee6b5e9bb6a5f537.tar.xz
selftests: mptcp: join: allow running -cCi
Without this patch, no tests would be ran when launching: mptcp_join.sh -cCi In any order or a combination with 2 of these letters. The recommended way with getopt is first parse all options and then act. This allows to do some actions in priority, e.g. display the help menu and stop. But also some global variables changing the behaviour of this selftests -- like the ones behind -cCi options -- can be set before running the different tests. By doing that, we can also avoid long and unreadable regex. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions