]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
test: shell: also unload NAT modules
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Fri, 8 Apr 2016 08:47:15 +0000 (10:47 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Apr 2016 23:24:40 +0000 (01:24 +0200)
Also unload NAT modules between tests.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/run-tests.sh

index 620fe579ddd66553eba9861f1dab2e4c900209d0..0bbb136bc425edb990b5c523e0888c460ac8fc7e 100755 (executable)
@@ -56,6 +56,7 @@ kernel_cleanup() {
        nft_exthdr nft_payload nft_cmp \
        nft_meta nft_meta_bridge nft_counter nft_log nft_limit \
        nft_hash nft_rbtree nft_ct nft_compat \
+       nft_chain_nat_ipv4 nft_chain_nat_ipv6 \
        nf_tables_inet nf_tables_bridge nf_tables_arp \
        nf_tables_ipv4 nf_tables_ipv6 nf_tables
 }