]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: Introduce check_pmtu_value()
authorStefano Brivio <sbrivio@redhat.com>
Mon, 8 Oct 2018 12:37:03 +0000 (14:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 18:00:23 +0000 (11:00 -0700)
commitd4c15ecc5782d47c4f02647d0aeb25cc35af9a00
tree85d2c18e462e7d95d354736eef4e126f1661d25c
parent492bf3544ba568e1ed6bee9252b9c4d0ad8a0432
selftests: pmtu: Introduce check_pmtu_value()

Introduce and use a function that checks PMTU values against
expected values and logs error messages, to remove some clutter.

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