diff options
author | Eric Garver <e@erig.me> | 2017-07-10 15:39:59 -0400 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-07-19 14:34:19 -0700 |
commit | ad44534e4a02420e22f418199194d532ea962efa (patch) | |
tree | cee2d85ba2903eaafdac2049cf01098f5708a49b /tests/system-common-macros.at | |
parent | 3310f7811594d465feeccea721a68365e280928b (diff) | |
download | openvswitch-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.at | 7 |
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() |