2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-27 15:18:06 +00:00

test: remove unnecessary command lines

Those are not necessary and makes the test output file harder to read.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
This commit is contained in:
Andy Zhou
2015-02-05 15:30:08 -08:00
parent e2b553e49b
commit 59a90db0bc

View File

@@ -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])