diff options
author | Mickaël Salaün <[email protected]> | 2017-08-07 01:23:37 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2017-09-05 19:21:33 -0600 |
commit | 369130b63178e0e2f863a2da2a5ad0238ded6d9d (patch) | |
tree | 84a336c9a26fdb68b45a788d5fa9371028a73278 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1f87c7c15d77350c4ab1c14d9ab8df2a1f1010d1 (diff) |
selftests: Enhance kselftest_harness.h to print which assert failed
When a test process is not able to write to TH_LOG_STREAM, this step
mechanism enable to print the assert number which triggered the failure.
This can be enabled by setting _metadata->no_print to true at the
beginning of the test sequence.
Update the seccomp-bpf test to return 0 if a test succeeded.
This feature is needed for the Landlock tests.
Signed-off-by: Mickaël Salaün <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Will Drewry <[email protected]>
Link: https://lkml.kernel.org/r/CAGXu5j+D-FP8Kt9unNOqKrQJP4DYTpmgkJxWykZyrYiVPz3Y3Q@mail.gmail.com
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions