diff options
author | Petr Machata <petrm@mellanox.com> | 2018-11-19 16:11:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-19 17:59:43 -0800 |
commit | 58c7a2d19e90a6ec3fbe6cd0c6b1025b731bc000 (patch) | |
tree | c8680496b6817fedeacdda16dbf5641aea477e49 /tools/testing/selftests/net | |
parent | d0540d1706c3cfbb51769de02858f846d3836389 (diff) |
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>
Diffstat (limited to 'tools/testing/selftests/net')
-rw-r--r-- | tools/testing/selftests/net/forwarding/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh index 93d6e9df483e..fa734ddce2e9 100644 --- a/tools/testing/selftests/net/forwarding/lib.sh +++ b/tools/testing/selftests/net/forwarding/lib.sh @@ -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() |