{
    "mode": "man",
    "parameter": "FAIL2BAN-TESTCASES",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/FAIL2BAN-TESTCASES/1/json",
    "generated": "2026-06-13T21:43:52Z",
    "synopsis": "fail2ban-testcases [OPTIONS] [regexps]",
    "sections": {
        "NAME": {
            "content": "fail2ban-testcases - run Fail2Ban unit-tests\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "fail2ban-testcases [OPTIONS] [regexps]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Script to run Fail2Ban tests battery\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--version",
                    "content": "show program's version number and exit\n",
                    "long": "--version"
                },
                {
                    "name": "-h --help",
                    "content": "show this help message and exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-l --log-level",
                    "content": "Log level for the logger to use during running tests\n",
                    "flag": "-l",
                    "long": "--log-level"
                },
                {
                    "name": "-v",
                    "content": "--verbosity=VERBOSITY\nSet numerical level of verbosity (0..4)\n",
                    "flag": "-v"
                },
                {
                    "name": "--log-direct",
                    "content": "Prevent lazy logging inside tests\n",
                    "long": "--log-direct"
                },
                {
                    "name": "-n --no-network",
                    "content": "Do not run tests that require the network\n",
                    "flag": "-n",
                    "long": "--no-network"
                },
                {
                    "name": "-g --no-gamin",
                    "content": "Do not run tests that require the gamin\n",
                    "flag": "-g",
                    "long": "--no-gamin"
                },
                {
                    "name": "-m --memory-db",
                    "content": "Run database tests using memory instead of file\n",
                    "flag": "-m",
                    "long": "--memory-db"
                },
                {
                    "name": "-f --fast",
                    "content": "Try to increase speed of the tests, decreasing of wait intervals, memory database\n",
                    "flag": "-f",
                    "long": "--fast"
                },
                {
                    "name": "-i --ignore",
                    "content": "negate [regexps] filter to ignore tests matched specified regexps\n",
                    "flag": "-i",
                    "long": "--ignore"
                },
                {
                    "name": "-t --log-traceback",
                    "content": "Enrich log-messages with compressed tracebacks\n",
                    "flag": "-t",
                    "long": "--log-traceback"
                },
                {
                    "name": "--full-traceback",
                    "content": "Either to make the tracebacks full, not compressed (as by default)\n",
                    "long": "--full-traceback"
                }
            ]
        },
        "SEE ALSO": {
            "content": "fail2ban-client(1) fail2ban-server(1) fail2ban-regex(1)\n\n\n\nfail2ban-testcases 0.11.2                   November 2020                      FAIL2BAN-TESTCASES(1)",
            "subsections": []
        }
    },
    "summary": "fail2ban-testcases - run Fail2Ban unit-tests",
    "flags": [
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "show program's version number and exit"
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "show this help message and exit"
        },
        {
            "flag": "-l",
            "long": "--log-level",
            "arg": null,
            "description": "Log level for the logger to use during running tests"
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": "--verbosity=VERBOSITY Set numerical level of verbosity (0..4)"
        },
        {
            "flag": "",
            "long": "--log-direct",
            "arg": null,
            "description": "Prevent lazy logging inside tests"
        },
        {
            "flag": "-n",
            "long": "--no-network",
            "arg": null,
            "description": "Do not run tests that require the network"
        },
        {
            "flag": "-g",
            "long": "--no-gamin",
            "arg": null,
            "description": "Do not run tests that require the gamin"
        },
        {
            "flag": "-m",
            "long": "--memory-db",
            "arg": null,
            "description": "Run database tests using memory instead of file"
        },
        {
            "flag": "-f",
            "long": "--fast",
            "arg": null,
            "description": "Try to increase speed of the tests, decreasing of wait intervals, memory database"
        },
        {
            "flag": "-i",
            "long": "--ignore",
            "arg": null,
            "description": "negate [regexps] filter to ignore tests matched specified regexps"
        },
        {
            "flag": "-t",
            "long": "--log-traceback",
            "arg": null,
            "description": "Enrich log-messages with compressed tracebacks"
        },
        {
            "flag": "",
            "long": "--full-traceback",
            "arg": null,
            "description": "Either to make the tracebacks full, not compressed (as by default)"
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "fail2ban-client",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fail2ban-client/1/json"
        },
        {
            "name": "fail2ban-server",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fail2ban-server/1/json"
        },
        {
            "name": "fail2ban-regex",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fail2ban-regex/1/json"
        }
    ]
}