]> git.ipfire.org Git - thirdparty/ipset.git/commit
tests: Fix for standalone calls to setlist_resize.sh master
authorPhil Sutter <phil@nwl.cc>
Tue, 22 Jul 2025 15:28:36 +0000 (17:28 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 20 Mar 2026 13:38:03 +0000 (14:38 +0100)
commit5c1debb08873ba6d56c073f34e4b09cd9c56e5d5
tree56cca3757b3b78e325257bc1d87b7aacab0098d0
parent4197c747268ed1129e73f5da25f6f17f97103141
tests: Fix for standalone calls to setlist_resize.sh

If called without ip_set.ko loaded, the unconditional 'rmmod ip_set' at
startup will fail and the previous 'set -e' makes that fatal.

Fixes: ed47b815a0d2c ("tests: add namespace test and take into account delayed set removal at module remove")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org>
tests/setlist_resize.sh