File: README

package info (click to toggle)
nufw 2.4.3-2.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,728 kB
  • sloc: ansic: 32,174; sh: 10,146; python: 4,176; makefile: 965; perl: 630; lex: 176; php: 168; yacc: 117; xml: 34
file content (47 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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.