diff options
| author | Hangbin Liu <[email protected]> | 2025-02-20 08:53:26 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-22 00:23:29 +0000 |
| commit | 465b210fdc653086fca34914c3a633efafb83e71 (patch) | |
| tree | 9bd8b293727b43cbf336763c58999d7c40172e58 /arch/s390/lib/test_modules_helpers.c | |
| parent | Merge branch 'net-fib_rules-add-dscp-mask-support' (diff) | |
| download | kernel-465b210fdc653086fca34914c3a633efafb83e71.tar.gz kernel-465b210fdc653086fca34914c3a633efafb83e71.zip | |
selftests: fib_nexthops: do not mark skipped tests as failed
The current test marks all unexpected return values as failed and sets ret
to 1. If a test is skipped, the entire test also returns 1, incorrectly
indicating failure.
To fix this, add a skipped variable and set ret to 4 if it was previously
0. Otherwise, keep ret set to 1.
Signed-off-by: Hangbin Liu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions
