1FAIL2BAN-TESTCASES(1) User Commands FAIL2BAN-TESTCASES(1)
2
3
4
6 fail2ban-testcases - run Fail2Ban unit-tests
7
9 fail2ban-testcases [OPTIONS] [regexps]
10
12 Script to run Fail2Ban tests battery
13
15 --version
16 show program's version number and exit
17
18 -h, --help
19 show this help message and exit
20
21 -l LOG_LEVEL, --log-level=LOG_LEVEL
22 Log level for the logger to use during running tests
23
24 -v Increase verbosity
25
26 --verbosity=VERBOSITY
27 Set numerical level of verbosity (0..4)
28
29 --log-direct
30 Prevent lazy logging inside tests
31
32 -n, --no-network
33 Do not run tests that require the network
34
35 -g, --no-gamin
36 Do not run tests that require the gamin
37
38 -m, --memory-db
39 Run database tests using memory instead of file
40
41 -f, --fast
42 Try to increase speed of the tests, decreasing of wait inter‐
43 vals, memory database
44
45 -i, --ignore
46 negate [regexps] filter to ignore tests matched specified reg‐
47 exps
48
49 -t, --log-traceback
50 Enrich log-messages with compressed tracebacks
51
52 --full-traceback
53 Either to make the tracebacks full, not compressed (as by de‐
54 fault)
55
57 fail2ban-client(1) fail2ban-server(1) fail2ban-regex(1)
58
59
60
61fail2ban-testcases 1.0.2 November 2022 FAIL2BAN-TESTCASES(1)