aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-11-13 14:52:51 -0800
committerPravin B Shelar <pshelar@nicira.com>2014-11-14 08:55:30 -0800
commitd98e14985fa69e25989c98677e9d60e886d52691 (patch)
tree9b9b6ef6ea3e8c02c6fbf47f4f8c338e93450334 /tests
parent9c64e6b8561630090735831cf65dc4e695df0983 (diff)
tests: Skip tunnel-push-pop test on Windows and BSD.
Also updates ovs-router README documentation. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in8
-rw-r--r--tests/tunnel-push-pop.at4
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 825d28965..bada7e2a6 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -93,13 +93,19 @@ FreeBSD|NetBSD)
;;
esac
-# Check for MINGW platform.
+# Check for platform.
case `uname` in
MINGW*)
IS_WIN32="yes"
+ IS_BSD="no"
+ ;;
+FreeBSD|NetBSD)
+ IS_WIN32="no"
+ IS_BSD="yes"
;;
*)
IS_WIN32="no"
+ IS_BSD="no"
;;
esac
diff --git a/tests/tunnel-push-pop.at b/tests/tunnel-push-pop.at
index 44c2ecfa3..c552dd27c 100644
--- a/tests/tunnel-push-pop.at
+++ b/tests/tunnel-push-pop.at
@@ -2,6 +2,10 @@ AT_BANNER([tunnel_push_pop])
AT_SETUP([tunnel_push_pop - action])
+dnl ovs router is commands are only supported on Linux for now.
+AT_SKIP_IF([test "$IS_WIN32" = "yes"])
+AT_SKIP_IF([test "$IS_BSD" = "yes"])
+
OVS_VSWITCHD_START([add-port br0 p0 -- set Interface p0 type=dummy ofport_request=1\
-- add-br int-br -- set bridge int-br datapath_type=dummy \
-- add-port int-br t2 -- set Interface t2 type=vxlan \