selftests: forwarding: ping{6, }_test(): Add description argument

Have ping_test() recognize an optional argument with a description of
the test. This is handy if there are several ping test, to make it clear
which is which.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Petr Machata 2018-11-19 16:11:11 +00:00 коммит произвёл David S. Miller
Родитель d0540d1706
Коммит 58c7a2d19e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -813,7 +813,7 @@ ping_test()
ping_do $1 $2
check_err $?
log_test "ping"
log_test "ping$3"
}
ping6_do()
@ -832,7 +832,7 @@ ping6_test()
ping6_do $1 $2
check_err $?
log_test "ping6"
log_test "ping6$3"
}
learning_test()