]> git.hungrycats.org Git - linux/commit
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:00:38 +0000 (12:00 +0100)
commit7f8a8386367ab1e55ec462f2bcae672eb62dc130
tree7cec16abe691cf4d8ebcbee652c13be766647d85
parent195b078423236413df8e1c8768b827820d42b16d
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