Files

22 lines
521 B
Bash
Raw Normal View History

2026-04-23 17:07:55 +08:00
#!/bin/sh
ret_val=0
# Check if all the kernel modules are available
FIREWALLD_KERNEL_MODULES="@@FIREWALLD_KERNEL_MODULES@@"
for m in $FIREWALLD_KERNEL_MODULES; do
if modprobe $m; then
echo "PASS: loading $m"
else
echo "FAIL: loading $m"
ret_val=1
fi
done
# Run the test suite from firewalld
# Failing testsuites: 203 226 241 250 270 280 281 282 285 286
# Problem icmpv6 compared against ipv6-icmptype?
/usr/share/firewalld/testsuite/testsuite -C /tmp -A || ret_val=1
exit $ret_val