NuFW testing
============

This implements a testing system for NuFW.

Results of tests on different architectures are available at:
  https://buildbot.inl.fr/

Requirements
------------

 * NuFW 2.0 or 2.2
 * Python IPy
 * Python MySQL DB
 * PyNetfilter-conntrack

Write config.cfg
----------------

First, you need a valid installation of NuFW (version 2.0 or 2.2) with:
 * nufw
 * nuauth
 * nutcpc

You need a valid account to be able to run nutcpc.

You may configure tests and write your own config based on defaults.cfg::

   cp defaults.cfg config.cfg

defaults.cfg is loaded before config.cfg. So you can just change few options
in you config.cfg.


Run tests
---------

Now you can run one test, example::

    ./test_plaintext_auth.py

Or to run all tests together::

    ./test_all.py

The call to "make check" will also triggered the run of test_all.py.

