Skip to content

Commit

Permalink
test: do not require python2 for CHECK_CONNTRACK macro
Browse files Browse the repository at this point in the history
Do not strictly require python2 for CHECK_CONNTRACK macro definitions in
system-{kmod,userspace}-macros.at

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
LorenzoBianconi authored and blp committed Aug 22, 2019
1 parent 9bac5e7 commit 93482cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/system-kmod-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion tests/system-userspace-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 93482cb

Please sign in to comment.