selftests: add route_localnet test script
authorShijie Luo <luoshijie1@huawei.com>
Tue, 18 Jun 2019 15:14:05 +0000 (15:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 16:02:47 +0000 (09:02 -0700)
commit58ade67b021549d540e2ed4be6971c5e3240388f
tree4eef4a6b3082534c68994ba1da64ccddbb08ca28
parent650638a7c6e60a198573873972aafb065f200056
selftests: add route_localnet test script

Add a simple scripts to exercise several situations when enable
route_localnet.

Signed-off-by: Shijie Luo <luoshijie1@huawei.com>
Signed-off-by: Zhiqiang liu <liuzhiqiang26@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/route_localnet.sh [new file with mode: 0755]