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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Jan 2023 11:59:53 +0000 (11:59 +0000)
commit1856628baa17032531916984808d1bdfd62700d4
treef7e06e6a8c4c89db9f55ddaf34002bfdb9e9d11c
parent9c4d7f45d60745a1cea0e841fa5e3444c398d2f1
selftests: net: return non-zero for failures reported in arp_ndisc_evict_nocarrier

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>
tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh