mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
If a subtest itself reports success, but the outer testcase fails, the whole testcase should be reported as a failure. However the status is recalculated based on the test counts, overwriting the outer test result. Synthesize a failed test in this case to make sure the failure is not swallowed. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
11 lines
164 B
Plaintext
11 lines
164 B
Plaintext
KTAP version 1
|
|
1..2
|
|
KTAP version 1
|
|
1..1
|
|
ok 1 test 1
|
|
not ok 1 subtest 1
|
|
KTAP version 1
|
|
1..1
|
|
not ok 1 subsubtest 1
|
|
not ok 2 subtest 2
|