]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: nft-tests.py: Add function for loading and removing kernel modules
authorManuel Johannes Messner <manuel.johannes.messner@hs-furtwangen.de>
Mon, 5 Sep 2016 18:20:12 +0000 (20:20 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 6 Sep 2016 11:09:41 +0000 (13:09 +0200)
commit3e5b0e406cf2b635200f9ee05ba8a158528fe622
tree4b252ff313a2091856ea8a8aadebe36f7f025b66
parentbc4908b79a80fba8ce5c02aac52e40d16ec95aad
tests: py: nft-tests.py: Add function for loading and removing kernel modules

Some tests use the dummy kernel module. This commit adds a function to
automatically load that module and remove it afterwards.

Signed-off-by: Manuel Johannes Messner <manuel.johannes.messner@hs-furtwangen.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/nft-test.py