From 5c1debb08873ba6d56c073f34e4b09cd9c56e5d5 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 22 Jul 2025 17:28:36 +0200 Subject: [PATCH] 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 Acked-by: Jozsef Kadlecsik --- tests/setlist_resize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setlist_resize.sh b/tests/setlist_resize.sh index acb33e3..db347ca 100755 --- a/tests/setlist_resize.sh +++ b/tests/setlist_resize.sh @@ -20,7 +20,7 @@ while [ $n -le 9 ]; do n=10 fi done -rmmod ip_set >/dev/null 2>&1 +rmmod ip_set >/dev/null 2>&1 || : create() { n=$1 -- 2.47.3