aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/testing/selftests/net/fib_rule_tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/fib_rule_tests.sh b/tools/testing/selftests/net/fib_rule_tests.sh
index 5b92c1f4dc04..4b7e107865bf 100755
--- a/tools/testing/selftests/net/fib_rule_tests.sh
+++ b/tools/testing/selftests/net/fib_rule_tests.sh
@@ -27,6 +27,7 @@ log_test()
27 nsuccess=$((nsuccess+1)) 27 nsuccess=$((nsuccess+1))
28 printf "\n TEST: %-50s [ OK ]\n" "${msg}" 28 printf "\n TEST: %-50s [ OK ]\n" "${msg}"
29 else 29 else
30 ret=1
30 nfail=$((nfail+1)) 31 nfail=$((nfail+1))
31 printf "\n TEST: %-50s [FAIL]\n" "${msg}" 32 printf "\n TEST: %-50s [FAIL]\n" "${msg}"
32 if [ "${PAUSE_ON_FAIL}" = "yes" ]; then 33 if [ "${PAUSE_ON_FAIL}" = "yes" ]; then
@@ -245,4 +246,9 @@ setup
245run_fibrule_tests 246run_fibrule_tests
246cleanup 247cleanup
247 248
249if [ "$TESTS" != "none" ]; then
250 printf "\nTests passed: %3d\n" ${nsuccess}
251 printf "Tests failed: %3d\n" ${nfail}
252fi
253
248exit $ret 254exit $ret