On Mon, Oct 25, 2021 at 4:19 PM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > The legacy iptables API is being deprecated in favor of netfilter and > some distributions are starting to disable it in their kernels (e.g. > Fedora ELN, RHEL 10+). To allow getting a clean run of the testsuite on > such kernels, detect the availability of the ip_tables kernel module and > skip the iptables tests if it's not available (either as a loadable > module or built in). > > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> > --- > > v2: do the same also in tests/sctp, not just tests/inet_socket > > tests/inet_socket/test | 21 ++++++++++++++++----- > tests/sctp/test | 21 ++++++++++++++++----- > 2 files changed, 32 insertions(+), 10 deletions(-) Merged: https://github.com/SELinuxProject/selinux-testsuite/commit/b2d0f3c5f946e58e3e6f8f1fff81d8435b005f92 -- Ondrej Mosnacek Software Engineer, Linux Security - SELinux kernel Red Hat, Inc.