From: Petr Machata Date: Mon, 19 Nov 2018 16:11:11 +0000 (+0000) Subject: selftests: forwarding: ping{6, }_test(): Add description argument X-Git-Tag: v5.4-rc1~1957^2~252^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58c7a2d19e90a6ec3fbe6cd0c6b1025b731bc000;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Ido Schimmel Signed-off-by: David S. Miller --- diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh index 93d6e9d..fa734dd 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()