Re: [PATCH] bpf/tests: do not PASS tests without actually testing the result
From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-07-24 00:30:05
Also in:
bpf
From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-07-24 00:30:05
Also in:
bpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 21 Jul 2021 12:38:22 +0200 you wrote:
Each test case can have a set of sub-tests, where each sub-test can run the cBPF/eBPF test snippet with its own data_size and expected result. Before, the end of the sub-test array was indicated by both data_size and result being zero. However, most or all of the internal eBPF tests has a data_size of zero already. When such a test also had an expected value of zero, the test was never run but reported as PASS anyway. [...]
Here is the summary with links:
- bpf/tests: do not PASS tests without actually testing the result
https://git.kernel.org/bpf/bpf-next/c/2b7e9f25e590
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html