diff options
author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2018-06-09 23:04:27 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-12 19:50:58 +0200 |
commit | 38b4166d2f7e1cbd9b4e62805b7fad6352710131 (patch) | |
tree | c5fcdd81f5c7be37d66081088dacfef5235fb825 /COMMIT_NOTES | |
parent | 1e6427abc0221a5e7ed3f943cbf05acb8682c721 (diff) |
iptables: tests: shell: add shell test-suite
To run the test suite (as root):
% cd iptables/tests/shell
% ./run-tests.sh
Test files are executables files with the pattern <<name_N>> , where
N is the expected return code of the executable. Since they are
located with `find', test-files can be spreaded in any sub-directories.
You can turn on a verbose execution by calling:
% ./run-tests.sh -v
Before each call to the test-files, `kernel_cleanup' will be called.
Also, test-files will receive the environment variable $IPTABLES which
contains the path to the iptables binary being tested.
You can pass an arbitrary $IPTABLES value as well:
% IPTABLES=/../../xtables-multi iptables ./run-tests.sh
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'COMMIT_NOTES')
0 files changed, 0 insertions, 0 deletions