Re: [PATCH 2/2] selftests: pmtu.sh: improve the test result processing

2020-11-09 Thread Po-Hsu Lin
On Tue, Nov 10, 2020 at 2:09 AM Jakub Kicinski wrote: > > On Mon, 9 Nov 2020 11:42:33 +0800 Po-Hsu Lin wrote: > > On Sun, Nov 8, 2020 at 7:02 AM Jakub Kicinski wrote: > > > > > > On Thu, 5 Nov 2020 18:50:51 +0800 Po-Hsu Lin wrote: > > > > This test will treat all non-zero return codes as

Re: [PATCH 2/2] selftests: pmtu.sh: improve the test result processing

2020-11-09 Thread Jakub Kicinski
On Mon, 9 Nov 2020 11:42:33 +0800 Po-Hsu Lin wrote: > On Sun, Nov 8, 2020 at 7:02 AM Jakub Kicinski wrote: > > > > On Thu, 5 Nov 2020 18:50:51 +0800 Po-Hsu Lin wrote: > > > This test will treat all non-zero return codes as failures, it will > > > make the pmtu.sh test script being marked as

Re: [PATCH 2/2] selftests: pmtu.sh: improve the test result processing

2020-11-08 Thread Po-Hsu Lin
On Sun, Nov 8, 2020 at 7:02 AM Jakub Kicinski wrote: > > On Thu, 5 Nov 2020 18:50:51 +0800 Po-Hsu Lin wrote: > > This test will treat all non-zero return codes as failures, it will > > make the pmtu.sh test script being marked as FAILED when some > > sub-test got skipped. > > > > Improve the

Re: [PATCH 2/2] selftests: pmtu.sh: improve the test result processing

2020-11-07 Thread Jakub Kicinski
On Thu, 5 Nov 2020 18:50:51 +0800 Po-Hsu Lin wrote: > This test will treat all non-zero return codes as failures, it will > make the pmtu.sh test script being marked as FAILED when some > sub-test got skipped. > > Improve the result processing by > * Only mark the whole test script as SKIP

[PATCH 2/2] selftests: pmtu.sh: improve the test result processing

2020-11-05 Thread Po-Hsu Lin
This test will treat all non-zero return codes as failures, it will make the pmtu.sh test script being marked as FAILED when some sub-test got skipped. Improve the result processing by * Only mark the whole test script as SKIP when all of the sub-tests were skipped * If the sub-tests were