selftests: rtnetlink: remove testns on test fail
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Fri, 2 Mar 2018 02:22:20 +0000 (11:22 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 23:36:15 +0000 (18:36 -0500)
commit053533fc7577ddbe14b2a7c4a8fc70ce3fbb3547
tree4e4f5ac84fb2f246215a4c89ec6cb5e0515cac9b
parentfaa083bbe3223f49785a75ea22021dbb81bdbfd8
selftests: rtnetlink: remove testns on test fail

This patch removes testns after test failure so that next test can
continue with clean ns

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/rtnetlink.sh