diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-03-11 10:57:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-12 05:44:24 +0300 |
commit | ff0162af9e7b2e33d4d40f41130c65ba416ba059 (patch) | |
tree | 4ea64fc7b3b584a7d526d45a65c8facc0754bec4 /tools/testing | |
parent | 3a021ab56468db57868a9bc6721b7dfbec672a15 (diff) | |
download | linux-ff0162af9e7b2e33d4d40f41130c65ba416ba059.tar.xz |
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>
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/net/forwarding/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh index 273511ef2b43..6ac8a98fa270 100644 --- a/tools/testing/selftests/net/forwarding/lib.sh +++ b/tools/testing/selftests/net/forwarding/lib.sh @@ -50,7 +50,7 @@ fi if [[ ! -x "$(command -v $MZ)" ]]; then echo "SKIP: $MZ not installed" - exit 0 + exit 1 fi if [[ ! -v NUM_NETIFS ]]; then |