summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2016-10-03 14:50:54 +0000
committerBen Pfaff <blp@ovn.org>2016-10-03 10:21:11 -0700
commit1539d07028d0acbc9910a16e537d8fb88e9067c4 (patch)
tree558d65f582428650b52231421160a9a63ef8126c /tests
parent63460a30c53ee35b540831bd75fe86e9c2a46d7e (diff)
downloadopenvswitch-1539d07028d0acbc9910a16e537d8fb88e9067c4.tar.gz
ovn-controller tests: Windows does not register "tap"
On Windows we do not register "tap" as an interface type since it is not supported. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ovn-controller.at6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at
index 00ee482f3..b1211a5be 100644
--- a/tests/ovn-controller.at
+++ b/tests/ovn-controller.at
@@ -195,7 +195,11 @@ OVS_WAIT_UNTIL([check_datapath_type ""])
# The following will need to be updated as OVS starts to support more
# interface types.
-expected_iface_types="dummy,dummy-internal,dummy-pmd,geneve,gre,internal,lisp,patch,stt,system,tap,vxlan"
+if test "$IS_WIN32" = "yes"; then
+ expected_iface_types="dummy,dummy-internal,dummy-pmd,geneve,gre,internal,lisp,patch,stt,system,vxlan"
+else
+ expected_iface_types="dummy,dummy-internal,dummy-pmd,geneve,gre,internal,lisp,patch,stt,system,tap,vxlan"
+fi
chassis_iface_types=$(ovn-sbctl get Chassis ${sysid} external_ids:iface-types | sed -e 's/\"//g')
echo "chassis_iface_types = ${chassis_iface_types}"
AT_CHECK([test "${expected_iface_types}" = "${chassis_iface_types}"])