1#!/bin/sh 2 3ret_val=0 4 5# Check if all the kernel modules are available 6FIREWALLD_KERNEL_MODULES="@@FIREWALLD_KERNEL_MODULES@@" 7for m in $FIREWALLD_KERNEL_MODULES; do 8 if modprobe $m; then 9 echo "PASS: loading $m" 10 else 11 echo "FAIL: loading $m" 12 ret_val=1 13 fi 14done 15 16# Run the test suite from firewalld 17# Failing testsuites: 203 226 241 250 270 280 281 282 285 286 18# Problem icmpv6 compared against ipv6-icmptype? 19/usr/share/firewalld/testsuite/testsuite -C /tmp -A || ret_val=1 20 21exit $ret_val 22