tests: Skip tunnel-push-pop test on Windows and BSD.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 13 Nov 2014 22:52:51 +0000 (14:52 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 14 Nov 2014 16:55:30 +0000 (08:55 -0800)
Also updates ovs-router README documentation.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
README-native-tunneling.md
tests/atlocal.in
tests/tunnel-push-pop.at

index 989c251..e7a2ddc 100644 (file)
@@ -49,6 +49,8 @@ There are following commands that shows internal tables:
 Tunneling related commands:
 ===========================
 Tunnel routing table:
+    These commands are only available on Linux platform.
+
     To Add route:
        ovs-appctl ovs/route/add <IP address>/<prefix length> <output-bridge-name> <gw>
     To see all routes configured:
index 825d289..bada7e2 100644 (file)
@@ -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
 
index 44c2ecf..c552dd2 100644 (file)
@@ -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 \