summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2021-01-19 10:59:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 11:05:39 +0100
commit3d6327020b36598d45ee3bca3a68b46209975d7c (patch)
tree409547f6b690773145b4a57e4f4883c1023f05c8 /tools
parent445aa8f4db6019c0405ce9de4b0c5d5cab659cee (diff)
downloadlinux-stable-3d6327020b36598d45ee3bca3a68b46209975d7c.tar.gz
linux-stable-3d6327020b36598d45ee3bca3a68b46209975d7c.tar.bz2
linux-stable-3d6327020b36598d45ee3bca3a68b46209975d7c.zip
selftests: net: fib_tests: remove duplicate log test
[ Upstream commit fd23d2dc180fccfad4b27a8e52ba1bc415d18509 ] The previous test added an address with a specified metric and check if correspond route was created. I somehow added two logs for the same test. Remove the duplicated one. Reported-by: Antoine Tenart <atenart@redhat.com> Fixes: 0d29169a708b ("selftests/net/fib_tests: update addr_metric_test for peer route testing") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20210119025930.2810532-1-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/net/fib_tests.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/fib_tests.sh b/tools/testing/selftests/net/fib_tests.sh
index 67048f922ff2..a5ba149761bf 100755
--- a/tools/testing/selftests/net/fib_tests.sh
+++ b/tools/testing/selftests/net/fib_tests.sh
@@ -987,7 +987,6 @@ ipv6_addr_metric_test()
check_route6 "2001:db8:104::1 dev dummy2 proto kernel metric 260"
log_test $? 0 "Set metric with peer route on local side"
- log_test $? 0 "User specified metric on local address"
check_route6 "2001:db8:104::2 dev dummy2 proto kernel metric 260"
log_test $? 0 "Set metric with peer route on peer side"