]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
selftests: forwarding: Exit with error when missing interfaces
authorIdo Schimmel <idosch@mellanox.com>
Sun, 11 Mar 2018 07:57:24 +0000 (09:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 02:44:24 +0000 (22:44 -0400)
commit231b85abaaeef119811a9f036245c94bd5483415
treed0932a1eef5845e25712b75d6fd6985d6ca2aa6a
parentff0162af9e7b2e33d4d40f41130c65ba416ba059
selftests: forwarding: Exit with error when missing interfaces

Returning 0 gives a false sense of success when the required modules did
not even manage to be initialized and register the required net devices.

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