From: Daniel Wagner <[email protected]> [resent, because the last sent was corrupted]
Hi, The first thre patches are new and the result from the discussion on the last version of this series. I moved unit/test-iptables to unit/iptables-unit and unit/test-session to unit/session-unit (this one also renames the files which belong to session-unit.c). Furthermore, test-ippool is not part of the 'make distcheck' target. Be aware, the first test runs for awhile, be patient :) The patch #4 "iptables-test: Use iptables implementation from core" is more a RFC patch, but Tomasz indicated he would like something like this. Patch #6 "iptables-unit: Check if rules are inserted/removed" tries to detect iptables-save during configure time. If not found the checks are just skipped. I am not so sure about my autoconf-foo so have a close look on this. Maybe we want to exclude the whole test if iptables-save is not found. The last patch is the refactored update hook patch we discussed in the last version. All other patches are the same as in the previous version. cheers, daniel Daniel Wagner (12): test-iptables: Move file to tools and rename it to iptables-unit test-session: Move file to tools and rename it to session-test test-ippool: Run it during make distcheck iptables-test: Use iptables implementation from core iptables-unit: Add debug option iptables-unit: Check if rules are inserted/removed iptables: Drop support for xtables < 1.4.11 iptables: Use glib function for string operations iptables: Lookup in table hash before module loading iptables: Improve debug log output iptables: Rename pre_load_table() to get_table() iptables: Factor out duplicated update hook code Makefile.am | 34 +- configure.ac | 8 +- src/iptables.c | 258 +++---- tools/iptables-test.c | 1880 ++----------------------------------------------- tools/iptables-unit.c | 476 +++++++++++++ tools/manager-api.c | 262 +++++++ tools/session-api.c | 330 +++++++++ tools/session-test.c | 588 ++++++++++++++++ tools/session-test.h | 145 ++++ tools/session-utils.c | 261 +++++++ unit/manager-api.c | 262 ------- unit/session-api.c | 330 --------- unit/test-connman.h | 145 ---- unit/test-iptables.c | 327 --------- unit/test-session.c | 588 ---------------- unit/utils.c | 261 ------- 16 files changed, 2245 insertions(+), 3910 deletions(-) create mode 100644 tools/iptables-unit.c create mode 100644 tools/manager-api.c create mode 100644 tools/session-api.c create mode 100644 tools/session-test.c create mode 100644 tools/session-test.h create mode 100644 tools/session-utils.c delete mode 100644 unit/manager-api.c delete mode 100644 unit/session-api.c delete mode 100644 unit/test-connman.h delete mode 100644 unit/test-iptables.c delete mode 100644 unit/test-session.c delete mode 100644 unit/utils.c -- 1.8.1.3.566.gaa39828 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
