diff options
author | Phil Sutter <phil@nwl.cc> | 2021-09-06 13:07:43 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-09-13 17:00:51 +0200 |
commit | c057939d80cc6219a137784c195e14ee1bc62a58 (patch) | |
tree | 6dec5dee040b47b47b859e4685a11c1829d1eade /extensions/libip6t_hl.c | |
parent | a8da71864d467c4371dc24cd763fa2c1dfb6cfbb (diff) |
tests: xlate-test: Exit non-zero on error
If a test fails, return a non-zero exit code. To do so, propagate the
pass/fail statistics up to main() for evaluation. While being at it,
move the statistics printing into there as well and get rid of that
redundant assignment to 'test_passed'.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libip6t_hl.c')
0 files changed, 0 insertions, 0 deletions