diff options
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | 2018-05-31 13:42:36 +0900 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-02 06:13:56 +0200 |
commit | 16edddfe3c5d192f097c27ff60cae05daa29f782 (patch) | |
tree | 40d6b5bacec67b7236b606645c1fe7d7abb90c9f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bcece5dc40b9e00d0a9a91fc0acc9a825c23362b (diff) |
selftests/bpf: test_sockmap, check test failure
Test failures are not identified because exit code of RX/TX threads
is not checked. Also threads are not returning correct exit code.
- Return exit code from threads depending on test execution status
- In main thread, check the exit code of RX/TX threads
- Skip error checking for corked tests as they are expected to timeout
Fixes: 16962b2404ac ("bpf: sockmap, add selftests")
Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions