summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0012different_defines_0
Commit message (Collapse)AuthorAgeFilesLines
* tests: shell: add testcase for different defines usageArturo Borrero Gonzalez2016-11-291-0/+44
This testcase add some defines in a nft -f run and then uses them in different spots (which are not covered in previous testcases). * defines used to define another one * different datatypes (numbers, strings, bits, ranges) * usage in sets, maps, contatenatios * single rules with single statements, multiple statements * reuse define in same rule Perhaps this isn't testing many different code path, but I find this interesting to have given it will probably be one of the most common use cases of nftables. Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>