Searched hist:"826 d7bdc" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 826d7bdc Mon Mar 07 14:44:33 CST 2022 Matthieu Baerts <matthieu.baerts@tessares.net> 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>
|