summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2019-07-29 13:48:33 +0200
committerBen Pfaff <blp@ovn.org>2019-08-22 15:40:18 -0700
commit93482cb0dad5d320668965e2f5b601c857105d66 (patch)
tree7d9ced581f6502f1e3402fa744885f1a07028606 /tests
parent9bac5e78a4b140039b81f272a432167ac0213f25 (diff)
downloadopenvswitch-93482cb0dad5d320668965e2f5b601c857105d66.tar.gz
test: do not require python2 for CHECK_CONNTRACK macro
Do not strictly require python2 for CHECK_CONNTRACK macro definitions in system-{kmod,userspace}-macros.at Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/system-kmod-macros.at2
-rw-r--r--tests/system-userspace-macros.at2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at
index 554a61e9b..48e94642b 100644
--- a/tests/system-kmod-macros.at
+++ b/tests/system-kmod-macros.at
@@ -59,7 +59,7 @@ m4_define([CONFIGURE_VETH_OFFLOADS],
# kernel conntrack tables when the test is finished.
#
m4_define([CHECK_CONNTRACK],
- [AT_SKIP_IF([test $HAVE_PYTHON2 = no])
+ [AT_SKIP_IF([test $HAVE_PYTHON = no])
m4_foreach([mod], [[nf_conntrack_ipv4], [nf_conntrack_ipv6], [nf_nat_ftp],
[nf_nat_tftp]],
[modprobe mod || echo "Module mod not loaded."
diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at
index 9d5f3bf41..a411e3d89 100644
--- a/tests/system-userspace-macros.at
+++ b/tests/system-userspace-macros.at
@@ -65,7 +65,7 @@ m4_define([CONFIGURE_VETH_OFFLOADS],
# Perform requirements checks for running conntrack tests.
#
m4_define([CHECK_CONNTRACK],
- [AT_SKIP_IF([test $HAVE_PYTHON2 = no])]
+ [AT_SKIP_IF([test $HAVE_PYTHON = no])]
)
# CHECK_CONNTRACK_ALG()