]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: update kernel modules to clean
authorArturo Borrero Gonzalez <arturo@debian.org>
Tue, 18 Oct 2016 08:49:34 +0000 (10:49 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Oct 2016 10:22:12 +0000 (12:22 +0200)
Let's keep the kernel_cleanup() function updated with latest
kernel changes:

 * added nft_quota, nft_queue, nft_numgen, nft_range
 * rename nft_hash to nft_set_hash
 * keep nft_hash as well
 * rename nft_rbtree to nft_set_rbtree

The idea is to run each test in a clean evironment.

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

index 327765508943fc15cb8cacfca051ed11ec39942a..ff243444894537dc45be73c94aa7e458e83983e9 100755 (executable)
@@ -54,9 +54,11 @@ kernel_cleanup() {
        nft_redir_ipv4 nft_redir_ipv6 nft_redir \
        nft_dup_ipv4 nft_dup_ipv6 nft_dup nft_nat \
        nft_masq_ipv4 nft_masq_ipv6 nft_masq \
-       nft_exthdr nft_payload nft_cmp \
+       nft_exthdr nft_payload nft_cmp nft_range \
+       nft_quota nft_queue nft_numgen \
        nft_meta nft_meta_bridge nft_counter nft_log nft_limit \
-       nft_hash nft_rbtree nft_ct nft_compat \
+       nft_hash nft_ct nft_compat \
+       nft_set_hash nft_set_rbtree \
        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