Files
linux/tools
Po-Hsu Lin 5bc3d44918 selftests/net: correct the return value for run_netsocktests
[ Upstream commit 30c04d796b ]

The run_netsocktests will be marked as passed regardless the actual test
result from the ./socket:

    selftests: net: run_netsocktests
    ========================================
    --------------------
    running socket test
    --------------------
    [FAIL]
    ok 1..6 selftests: net: run_netsocktests [PASS]

This is because the test script itself has been successfully executed.
Fix this by exit 1 when the test failed.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-16 19:41:24 +02:00
..
2019-03-13 14:02:34 -07:00
2018-03-18 17:48:59 +01:00
2019-04-27 09:36:40 +02:00
2018-07-19 11:47:13 +01:00
2019-05-14 19:17:53 +02:00