]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: add new testcases for commit/rollback
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Thu, 31 Mar 2016 08:01:12 +0000 (10:01 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 7 Apr 2016 17:19:30 +0000 (19:19 +0200)
commit59583adf6a88a20b4e34347d15f83b805ee01055
treefe5aacfff86ea6e34cbdedaf60fb4cd7a2da8ec4
parent5db9dc9292d30a3672b691e4a8a6cd49daa47b71
tests/shell: add new testcases for commit/rollback

New simple testcases for kernel commit/rollback operations.

* ruleset A is loaded (good ruleset)
* ruleset B is loaded (bad ruleset): fail is expected
* ruleset A should remain in the kernel

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/nft-f/0002rollback_rule_0 [new file with mode: 0755]
tests/shell/testcases/nft-f/0003rollback_jump_0 [new file with mode: 0755]
tests/shell/testcases/nft-f/0004rollback_set_0 [new file with mode: 0755]
tests/shell/testcases/nft-f/0005rollback_map_0 [new file with mode: 0755]