[RFC PATCH net-next mlxsw 10/14] selftests: forwarding: Convert log_test() to recognize RET values