Re: [PATCH net-next v2] selftests: fib_tests: use per-test return value in subtests

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-10-02 20:10:11
Also in
linux-kselftest, lkml
Reply to
Hangbin Liu, 2026-09-30
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 30 Sep 2026 10:06:24 +0800 you wrote:
From: Hangbin Liu <redacted>

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().

[...]
Here is the summary with links:
  - [net-next,v2] selftests: fib_tests: use per-test return value in subtests
    https://git.kernel.org/netdev/net-next/c/4841fb8f557d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Thread (3 messages) 3 messages, 3 authors, 2026-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help