diff options
author | Hangbin Liu <[email protected]> | 2023-10-31 11:47:32 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-11-03 09:15:42 +0000 |
commit | 63e201916b27260218e528a2f8758be47f99bbf4 (patch) | |
tree | 2db6fd87978fa3478282d8964eb701ed9fdf1ba0 /net/ipv4/tcp_input.c | |
parent | db456d90a4c1b43b6251fa4348c8adc59b583274 (diff) |
selftests: pmtu.sh: fix result checking
In the PMTU test, when all previous tests are skipped and the new test
passes, the exit code is set to 0. However, the current check mistakenly
treats this as an assignment, causing the check to pass every time.
Consequently, regardless of how many tests have failed, if the latest test
passes, the PMTU test will report a pass.
Fixes: 2a9d3716b810 ("selftests: pmtu.sh: improve the test result processing")
Signed-off-by: Hangbin Liu <[email protected]>
Acked-by: Po-Hsu Lin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions