mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
net: selftests: Fix optstring
[ Upstream commit9ba9485b87] 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:5feba47273("selftests: fib_nexthops: Make ping timeout configurable") Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
fdc5c8fb57
commit
d862b63605
@@ -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;;
|
||||||
|
|||||||
Reference in New Issue
Block a user