Re: [PATCH net] selftests: pmtu.sh: fix result checking

2023-10-30 Thread Po-Hsu Lin
On Mon, Oct 30, 2023 at 5:46 PM Hangbin Liu wrote: > > 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, regardles

[PATCH net] selftests: pmtu.sh: fix result checking

2023-10-30 Thread Hangbin Liu
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