path: root/tests/shell/testcases/maps/anonymous_snat_map_0
diff options
authorArturo Borrero <>2015-12-11 11:10:19 +0100
committerPablo Neira Ayuso <>2015-12-18 13:53:34 +0100
commit91697b3dd6b16fc498d35fb94b572f2b22ccfbe5 (patch)
tree7be905cfe66513d6fe14ec970d15f1e887a3b438 /tests/shell/testcases/maps/anonymous_snat_map_0
parente91fc2495b78808b363fb0324bdca14ac03cad18 (diff)
tests/: add shell test-suite
This new test-suite is intended to perform tests of higher level than the other reggresion test-suite. It can run arbitrary executables which can perform any test apart of testing the nft syntax or netlink code (which is what the regression tests does). To run the test suite (as root): % cd tests/shell % ./ 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: % ./ -v Before each call to the test-files, `nft flush ruleset' will be called. Also, test-files will receive the environment variable $NFT which contains the path to the nftables binary being tested. You can pass an arbitrary $NFT value as well: % NFT=../../src/nft ./ Signed-off-by: Arturo Borrero Gonzalez <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/shell/testcases/maps/anonymous_snat_map_0')
0 files changed, 0 insertions, 0 deletions