Skip to content

Commit

Permalink
selftests/bpf: Switch reuseport tests for test_progs framework
Browse files Browse the repository at this point in the history
The tests were originally written in abort-on-error style. With the switch
to test_progs we can no longer do that. So at the risk of not cleaning up
some resource on failure, we now return to the caller on error.

That said, failure inside one test should not affect others because we run
setup/cleanup before/after every test.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212102259.418536-11-jakub@cloudflare.com
  • Loading branch information
Jakub Sitnicki authored and Alexei Starovoitov committed Dec 13, 2019
1 parent 415bb4e commit 7ee0d4e
Showing 1 changed file with 131 additions and 136 deletions.
Loading

0 comments on commit 7ee0d4e

Please sign in to comment.