]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: forwarding: Exit with error when missing dependencies
authorIdo Schimmel <idosch@mellanox.com>
Sun, 11 Mar 2018 07:57:23 +0000 (09:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 02:44:24 +0000 (22:44 -0400)
commitff0162af9e7b2e33d4d40f41130c65ba416ba059
tree4ea64fc7b3b584a7d526d45a65c8facc0754bec4
parent3a021ab56468db57868a9bc6721b7dfbec672a15
selftests: forwarding: Exit with error when missing dependencies

We already return an error when some dependencies (e.g., 'jq') are
missing so lets be consistent and do that for all.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh