1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/torture
Joseph Sutton 44d03bf479 lib/torture: Don't overwrite test outcomes
If a test fails an assertion, and later calls torture_skip() to skip
part of the test, the TORTURE_SKIP result will overwrite the
TORTURE_FAIL result, and the overall outcome will be successful.

To avoid this, we now arrange possible outcomes in order of priority,
and ensure we always keep the higher priority one.

This reveals some failing tests.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
2023-04-12 13:52:32 +00:00
..
simple.c
subunit.c lib/torture: make torture_subunit_test_name() public 2020-07-07 10:30:39 +00:00
torture.c lib/torture: Don't overwrite test outcomes 2023-04-12 13:52:32 +00:00
torture.h lib/torture: Don't overwrite test outcomes 2023-04-12 13:52:32 +00:00
wscript_build Rename 'errors' to 'samba-errors' and make it public. 2016-01-13 07:47:04 +01:00