]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: Move running of test into a new function
authorDavid Ahern <dsahern@gmail.com>
Sat, 8 Jun 2019 21:53:36 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:44:57 +0000 (10:44 -0700)
commitea642dc1494007e8eef399ad8801f9403a3bd370
treec7e72449fcb13de3f0433b304fabf39de97f1fb9
parenta5af64c1c96ac89ba7226e392fe90aa753236110
selftests: pmtu: Move running of test into a new function

Move the block of code that runs a test and prints the verdict to a
new function, run_test.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh