summaryrefslogtreecommitdiff
path: root/tests/system-common-macros.at
diff options
context:
space:
mode:
authorEric Garver <e@erig.me>2017-07-10 15:39:59 -0400
committerJoe Stringer <joe@ovn.org>2017-07-19 14:34:19 -0700
commitad44534e4a02420e22f418199194d532ea962efa (patch)
treecee2d85ba2903eaafdac2049cf01098f5708a49b /tests/system-common-macros.at
parent3310f7811594d465feeccea721a68365e280928b (diff)
downloadopenvswitch-ad44534e4a02420e22f418199194d532ea962efa.tar.gz
system-common-macros: Add macro to check for L3 GRE support
Signed-off-by: Eric Garver <e@erig.me> Signed-off-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'tests/system-common-macros.at')
-rw-r--r--tests/system-common-macros.at7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at
index 3acc672aa..b734dccca 100644
--- a/tests/system-common-macros.at
+++ b/tests/system-common-macros.at
@@ -288,7 +288,12 @@ m4_define([OVS_CHECK_VXLAN_GPE],
# OVS_CHECK_GRE()
m4_define([OVS_CHECK_GRE],
- [AT_SKIP_IF([! ip link add foo type gretap help 2>&1 | grep gre >/dev/null])
+ [AT_SKIP_IF([! ip link add foo type gretap help 2>&1 | grep gretap >/dev/null])
+ OVS_CHECK_FIREWALL()])
+
+# OVS_CHECK_GRE_L3()
+m4_define([OVS_CHECK_GRE_L3],
+ [AT_SKIP_IF([! ip link add foo type gre help 2>&1 | grep "gre " >/dev/null])
OVS_CHECK_FIREWALL()])
# OVS_CHECK_GENEVE()