Commit 9ba9485b authored by Benjamin Poirier's avatar Benjamin Poirier Committed by David S. Miller

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: 5feba472 ("selftests: fib_nexthops: Make ping timeout configurable")
Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
Signed-off-by: default avatarBenjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c46e78ba
...@@ -2283,7 +2283,7 @@ EOF ...@@ -2283,7 +2283,7 @@ EOF
################################################################################ ################################################################################
# main # main
while getopts :t:pP46hv:w: o while getopts :t:pP46hvw: o
do do
case $o in case $o in
t) TESTS=$OPTARG;; t) TESTS=$OPTARG;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment