[PATCH net v3 0/2] selftests: net: veth: propagate check failures to exit status

From: Omokefe Emmanuel Onanaroghene

Date: Mon Nov 16 2026 - 03:41:44 EST


Four checks in tools/testing/selftests/net/veth.sh report failure
without setting ret, so the script exits 0 even when they fail. Fix
all four: chk_channels() plus the three "bad setting" negative tests
spotted by Tianyi during review of v2.

Changes v2 -> v3:
- Add Tianyi Gao's Tested-by to patch 1 (thanks!).
- Add patch 2 fixing the remaining three checks.

Changes v1 -> v2:
- Correct Fixes tag to 1ec2230fc721.

Omokefe Emmanuel Onanaroghene (2):
selftests: net: veth: propagate channel-check failures to exit status
selftests: net: veth: propagate bad-settings check failures to exit
status

tools/testing/selftests/net/veth.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

--
2.43.0