]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: validate set size
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Jan 2017 18:33:07 +0000 (19:33 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Jan 2017 18:34:48 +0000 (19:34 +0100)
commitc875374f4c846fddf22026db479e73e6ddb3b5b3
tree4ae51e19e9dd0a80bf797d8019c8cd50a97d513a
parent5c33d714b433a575aa40754da563842db7f1e774
tests: shell: validate set size

Add two tests to make sure that set size checks work fine:

1) Check if set size is indeed working, this is a simple one.
2) Check if set size is correct after ENFILE error, there is bug that
   adds a new spare slot everytime we hit this.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/sets/0018set_check_size_1 [new file with mode: 0755]
tests/shell/testcases/sets/0019set_check_size_0 [new file with mode: 0755]