Blob Blame History Raw
m4_if(nftables, FIREWALL_BACKEND, [
FWD_START_TEST([missing firewalld.conf file])
AT_KEYWORDS(gh509)

dnl We're going to wipe the config below and therefore use the defaults. As
dnl such, if our test host doesn't support defaults then we must skip this test
dnl group.
IF_HOST_SUPPORTS_NFT_FIB([], [AT_SKIP_IF([:])])

AT_CHECK([if ! rm ./firewalld.conf; then exit 77; fi])
FWD_RESTART

FWD_END_TEST([-e '/ERROR: Failed to load/d' dnl
              -e '/WARNING:.*No such file or directory:.*/d' dnl
              -e '/WARNING: Using fallback firewalld configuration settings/d'])
])