commit | 9d6b3584a7a9d7fa872cb17ceda7a3b208f441eb | [log] [tgz] |
---|---|---|
author | Peter Oskolkov <posk@google.com> | Fri Feb 15 15:49:33 2019 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Feb 16 18:41:44 2019 -0800 |
tree | 2720f841702e235b84e09228012b454d782334a5 | |
parent | b251f9f63a3bea7864bf627960926d978e97814d [diff] |
selftests: bpf: test_lwt_ip_encap: add negative tests. As requested by David Ahern: - add negative tests (no routes, explicitly unreachable destinations) to exercize error handling code paths; - do not exit on test failures, but instead print a summary of passed/failed tests at the end. Future patches will add TSO and VRF tests. Signed-off-by: Peter Oskolkov <posk@google.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>