diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2019-12-12 11:22:56 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-13 12:38:00 -0800 |
commit | 9af6c84435d0252e532c7f8bb70f1ed64a22ae2a (patch) | |
tree | 80d6da11a91d5b19255943674f31bda7c68fd619 /tools/lib/string.c | |
parent | ce7cb5f3921cdf0f65ab877764265c6c0be34c3c (diff) |
selftests/bpf: Propagate errors during setup for reuseport tests
Prepare for switching reuseport tests to test_progs framework, where we
don't have the luxury to terminate the process on failure.
Modify setup helpers to signal failure via the return value with the help
of a macro similar to the one currently in use by the tests.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191212102259.418536-8-jakub@cloudflare.com
Diffstat (limited to 'tools/lib/string.c')
0 files changed, 0 insertions, 0 deletions