Skip to contentSkip to conversation

net: selftests: Fix optstring

PATCH Applied Benjamin Poirier 2 participants 2 messages May 16, 2023 – May 17, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: selftests: Fix optstring

The cited commit added a stray colon to the 'v' option. That makes the option work incorrectly.

ex:
tools/testing/selftests/net# ./fib_nexthops.sh -v
(should enable verbose mode, instead it shows help text due to missing arg)

Fixes 5feba4727395 ("selftests: fib_nexthops: Make ping timeout configurable")
---
 tools/testing/selftests/net/fib_nexthops.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/fib_nexthops.sh +1 -1
index a47b26ab48f2..0f5e88c8f4ff 100755
@@ -2283,7 +2283,7 @@ EOF
 ################################################################################
 # main
 
-while getopts :t:pP46hv:w: o
+while getopts :t:pP46hvw: o
 do
 	case $o in
 		t) TESTS=$OPTARG;;
Signature · 1 line
2.40.1
#1 lore raw
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:

Quoted 8 lines · On Tue, 16 May 2023 14:49:24 -0400 you wrote:

The cited commit added a stray colon to the 'v' option. That makes the option work incorrectly.

ex:
tools/testing/selftests/net# ./fib_nexthops.sh -v
(should enable verbose mode, instead it shows help text due to missing arg)

[...]

Here is the summary with links:
- [net] net: selftests: Fix optstring

    https://git.kernel.org/netdev/net/c/9ba9485b87ac

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html