]> 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)
commit5220473cb01d728c0e43072c372555847ec34508
tree8622f5688d0792d1eb8f074037feda34f86a30ea
parent7ad98c53e987188b0c0c2db07a97977932958b73
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