diff options
| author | Hangbin Liu <liuhangbin@kylinos.cn> | 2026-10-19 08:41:03 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-20 14:00:03 -0700 |
| commit | 17271848c9a79cdbee49537cb9a73e7de0906962 (patch) | |
| tree | dd823b5b0b228dd9727309d88bedd66ae3cea54d /tools/lib/python/kdoc/python_version.py | |
| parent | f6fa1d60ec3ceb7e6c26aa91eadfef34f94014e1 (diff) | |
selftests: net: exit with test failure status
The changed four tests can print [FAIL] subtests while still exiting with
status 0. Their log_test(), aka log_test_expected() in lib.sh, helpers
record a failure in ret, but the scripts never propagate ret to the exit
code, so a kselftest runner treats the run as a pass.
Initialize ret and exit with it at the end of each script so failed
subtests are reflected in the exit status.
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
