tests: Fix for standalone calls to setlist_resize.sh
Phil Sutter
reviewerPATCH 1/1 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 <[email protected]>
--- tests/setlist_resize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/setlist_resize.sh +1 -1
@@ -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
Signature · 1 line
2.49.0
Phil Sutter
reviewerQuoted 5 lines · Phil Sutter
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 <[email protected]>
Patch applied.