Those are not necessary and makes the test output file harder to read.
Signed-off-by: Andy Zhou <[email protected]>
---
tests/kmod-macros.at | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/kmod-macros.at b/tests/kmod-macros.at
index 86f1cef..ee9ba8a 100644
--- a/tests/kmod-macros.at
+++ b/tests/kmod-macros.at
@@ -67,9 +67,7 @@ m4_define([ADD_NAMESPACES],
# The existing 'port' or 'ovs-port' will be removed before new ones are added.
#
m4_define([ADD_VETH],
- [ ovs-vsctl del-port $3 ovs-$1
- ip netns exec $2 ip link del $1
- AT_CHECK([ip link add $1 type veth peer name ovs-$1])
+ [ AT_CHECK([ip link add $1 type veth peer name ovs-$1])
AT_CHECK([ip link set $1 netns $2])
AT_CHECK([ovs-vsctl add-port $3 ovs-$1])
AT_CHECK([ip link set dev ovs-$1 up])
--
1.9.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev