From 049247e019198a420b7a3da5718470adbcc8b5e9 Mon Sep 17 00:00:00 2001
From: Eric Garver <eric@garver.life>
Date: Wed, 21 Aug 2019 12:09:47 -0400
Subject: [PATCH 89/99] test: missing firewalld.conf
(cherry picked from commit d669a213d2986e6024bc88b9afa31eaac040ddc7)
(cherry picked from commit 4d9cfe95dad68a532a06aa8d5495ced694e19d6d)
---
src/tests/regression.at | 1 +
src/tests/regression/gh509.at | 9 +++++++++
2 files changed, 10 insertions(+)
create mode 100644 src/tests/regression/gh509.at
diff --git a/src/tests/regression.at b/src/tests/regression.at
index 6f57a1122925..3bc99543a9b1 100644
--- a/src/tests/regression.at
+++ b/src/tests/regression.at
@@ -23,3 +23,4 @@ m4_include([regression/gh258.at])
m4_include([regression/rhbz1715977.at])
m4_include([regression/rhbz1723610.at])
m4_include([regression/rhbz1734765.at])
+m4_include([regression/gh509.at])
diff --git a/src/tests/regression/gh509.at b/src/tests/regression/gh509.at
new file mode 100644
index 000000000000..332b2251263d
--- /dev/null
+++ b/src/tests/regression/gh509.at
@@ -0,0 +1,9 @@
+FWD_START_TEST([missing firewalld.conf file])
+AT_KEYWORDS(gh509)
+
+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'])
--
2.20.1