Commit 6a0bb69b authored by Po-Hsu Lin's avatar Po-Hsu Lin Committed by Zheng Zengkai
Browse files

selftests: fix the return value for UDP GRO test



stable inclusion
from stable-5.10.9
commit 1151161dd029a7d736ffffa356a837441b47e515
bugzilla: 47457

--------------------------------

[ Upstream commit 3503ee6c ]

The udpgro.sh will always return 0 (unless the bpf selftest was not
build first) even if there are some failed sub test-cases.

Therefore the kselftest framework will report this case is OK.

Check and return the exit status of each test to make it easier to
spot real failures.

Signed-off-by: default avatarPo-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 20cd72e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment