diff options
| author | Hangbin Liu <liuhangbin@kylinos.cn> | 2026-09-30 10:06:24 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-02 12:59:41 -0700 |
| commit | 4841fb8f557d090b37900f9179d3ff668f678b16 (patch) | |
| tree | 7cf5b5bd3b241bff29d8cc8eb808682bafc9b3e0 /tools/lib/python/kdoc/python_version.py | |
| parent | c29fbea7e950a4429591ab6b1c6e0c728ba3b2c0 (diff) | |
selftests: fib_tests: use per-test return value in subtests
fib_tests mixes use of $ret for both per-test return value and global exit
code. If an earlier subtest fails and a later function sets ret=0, the
script will exit with status 0 even though [FAIL] lines were printed.
Use RET as the per-test return value, as already defined in lib.sh. The
exit code ret will only be set in log_test().
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260930-self_fib_tests-v2-1-3053e649d341@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
