FTP NAT system tests fail if the corresponding modules are not loaded.
Add a probe for nf_nat_ftp module to make sure it is loaded before the
tests.

Reported-by: Daniele Di Proietto <diproiet...@vmware.com>
Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
 tests/system-kmod-macros.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at
index 7253d2b..3ef38e1 100644
--- a/tests/system-kmod-macros.at
+++ b/tests/system-kmod-macros.at
@@ -52,7 +52,7 @@ m4_define([OVS_TRAFFIC_VSWITCHD_STOP],
 m4_define([CHECK_CONNTRACK],
     [AT_SKIP_IF([test $HAVE_CONNTRACK = no])
      AT_SKIP_IF([test $HAVE_PYTHON = no])
-     m4_foreach([mod], [[nf_conntrack_ipv4], [nf_conntrack_ipv6]],
+     m4_foreach([mod], [[nf_conntrack_ipv4], [nf_conntrack_ipv6], 
[nf_nat_ftp]],
                 [modprobe mod || echo "Module mod not loaded."
                  on_exit 'modprobe -r mod'
                 ])
-- 
2.1.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to