Commit 692930cc authored by Nikolay Aleksandrov's avatar Nikolay Aleksandrov Committed by David S. Miller

selftests: net: fix nexthop warning cleanup double ip typo

I made a stupid typo when adding the nexthop route warning selftest and
added both $IP and ip after it (double ip) on the cleanup path. The
error doesn't show up when running the test, but obviously it doesn't
cleanup properly after it.

Fixes: 392baa33 ("selftests: net: add delete nexthop route warning test")
Signed-off-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5a48b743
......@@ -1220,8 +1220,8 @@ ipv4_fcnal()
[ $out1 -eq $out2 ]
rc=$?
log_test $rc 0 "Delete nexthop route warning"
run_cmd "$IP ip route delete 172.16.101.1/32 nhid 12"
run_cmd "$IP ip nexthop del id 12"
run_cmd "$IP route delete 172.16.101.1/32 nhid 12"
run_cmd "$IP nexthop del id 12"
}
ipv4_grp_fcnal()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment