selftests: net: return non-zero for failures reported in arp_ndisc_evict_nocarrier
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Fri, 30 Dec 2022 09:18:29 +0000 (17:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 11:02:22 +0000 (12:02 +0100)
commit718d28ce581efcb7da78dc09df438c5fe6f8a0d7
tree9334c7ac9fd153f3df4d8a9cbb1f43d46a395335
parentd87357c82ce39acbd990b06df5a651b1d7cedf1f
selftests: net: return non-zero for failures reported in arp_ndisc_evict_nocarrier

[ Upstream commit 1856628baa17032531916984808d1bdfd62700d4 ]

Return non-zero return value if there is any failure reported in this
script during the test. Otherwise it can only reflect the status of
the last command.

Fixes: f86ca07eb531 ("selftests: net: add arp_ndisc_evict_nocarrier")
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>
tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh