• Home
Name Date Size #Lines LOC

..--

testcases/03-May-2024-3,4922,757

READMED03-May-2024632 1813

run-tests.shD03-May-20242.4 KiB133107

README

1To run the test suite (as root):
2 $ cd iptables/tests/shell
3 # ./run-tests.sh
4
5Test files are executable files with the pattern <<name_N>> , where N is the
6expected return code of the executable. Since they are located with `find',
7test-files can be spreaded in any sub-directories.
8
9You can turn on a verbose execution by calling:
10 # ./run-tests.sh -v
11
12And to run test suite for pariticular test files:
13 # ./run-tests.sh <PATH_OF_TESTFILES>
14
15Also, test-files will receive the environment variable $XT_MULTI which contains
16the path to the old iptables (xtables-legacy-multi) or new iptables (xtables-nft-multi)
17binary being tested.
18