selftests: fib_rule_tests: print the result and return 1 if any tests failed
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 30 Apr 2019 02:46:10 +0000 (10:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 May 2019 12:42:39 +0000 (14:42 +0200)
commit7a42cf4dfa43af6b1fc4a18c6ad41891e59bb1ed
tree8af522119265096f99371cce80fa5822c0b71861
parentb563e9bbabfeddf6d4da3b99e27b337778083018
selftests: fib_rule_tests: print the result and return 1 if any tests failed

[ Upstream commit f68d7c44e76532e46f292ad941aa3706cb9e6e40 ]

Fixes: 65b2b4939a64 ("selftests: net: initial fib rule tests")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/fib_rule_tests.sh