Blame SOURCES/0090-fix-tests-regression-gh509-skip-if-host-doesn-t-supp.patch

c8bceb
From dd7c25572e265671bac8510f0193d2db3485703e Mon Sep 17 00:00:00 2001
c8bceb
From: Eric Garver <eric@garver.life>
c8bceb
Date: Wed, 21 Aug 2019 15:00:05 -0400
c8bceb
Subject: [PATCH 90/99] fix: tests/regression/gh509: skip if host doesn't
c8bceb
 support defaults
c8bceb
c8bceb
Fixes: d669a213d298 ("test: missing firewalld.conf")
c8bceb
(cherry picked from commit a8925505f5a5ae79abf34211517d5fb04404e7a7)
c8bceb
(cherry picked from commit 0d24a659d9c72ef7e72f51b37bc2c53b24dee658)
c8bceb
---
c8bceb
 src/tests/regression/gh509.at | 5 +++++
c8bceb
 1 file changed, 5 insertions(+)
c8bceb
c8bceb
diff --git a/src/tests/regression/gh509.at b/src/tests/regression/gh509.at
c8bceb
index 332b2251263d..44074fda3550 100644
c8bceb
--- a/src/tests/regression/gh509.at
c8bceb
+++ b/src/tests/regression/gh509.at
c8bceb
@@ -1,6 +1,11 @@
c8bceb
 FWD_START_TEST([missing firewalld.conf file])
c8bceb
 AT_KEYWORDS(gh509)
c8bceb
 
c8bceb
+dnl We're going to wipe the config below and therefore use the defaults. As
c8bceb
+dnl such, if our test host doesn't support defaults then we must skip this test
c8bceb
+dnl group.
c8bceb
+m4_if(no, HOST_SUPPORTS_NFT_FIB, [AT_SKIP_IF([:])])
c8bceb
+
c8bceb
 AT_CHECK([if ! rm ./firewalld.conf; then exit 77; fi])
c8bceb
 FWD_RESTART
c8bceb
 
c8bceb
-- 
c8bceb
2.20.1
c8bceb