APPLIED: [X][B][SRU][PATCH 0/1] selftests/net: correct the return value for run_afpackettests
Kleber Souza
kleber.souza at canonical.com
Tue Dec 10 14:32:23 UTC 2019
On 2019-12-06 13:07, Po-Hsu Lin wrote:
> == Justification ==
> The run_afpackettests will be marked as passed regardless the return
> value of those sub-tests in the script:
> --------------------
> running psock_tpacket test
> --------------------
> [FAIL]
> selftests: run_afpackettests [PASS]
>
> Fix this by changing the return value for each tests.
>
> == Fix ==
> * 8c03557 (selftests/net: correct the return value for run_afpackettests)
>
> This patch has alreay landed on newer releases and D with stable
> updates.
> For X and B this can be backported with the same logic.
>
> == Test ==
> Tested on a Xenial KVM with this patch applied on these two trees, when
> the test failed the return value will be 1 instead of 0 as expected.
>
> == Regression Potential ==
> * Low, it's just reflecting the real test return value. We may see this
> test failing on some kernels but it's good as it's reporting a real bug.
>
> Po-Hsu Lin (1):
> selftests/net: correct the return value for run_afpackettests
>
> tools/testing/selftests/net/run_afpackettests | 4 ++++
> 1 file changed, 4 insertions(+)
>
Applied to xenial and bionic master-next branches.
Thanks,
Kleber
More information about the kernel-team
mailing list