]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/net: correct the return value for run_afpackettests
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Fri, 19 Apr 2019 11:01:13 +0000 (19:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Apr 2019 03:29:02 +0000 (20:29 -0700)
commit90ab786f099ad5233a21ae3fef98827e28c2f59d
tree8622f5688d0792d1eb8f074037feda34f86a30ea
parent93ea7f64058aa9f8ae50ccc0e6013a03e39c09e5
selftests/net: correct the return value for run_afpackettests

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.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/run_afpackettests