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)
commit243781dba7907d0f61b4f6da50c2f6f9ecc43186
treec7e72449fcb13de3f0433b304fabf39de97f1fb9
parent7bf4796dd09984ad1612877a82d0d139c70ae27f
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