|
|
136e2c |
From 049247e019198a420b7a3da5718470adbcc8b5e9 Mon Sep 17 00:00:00 2001
|
|
|
136e2c |
From: Eric Garver <eric@garver.life>
|
|
|
136e2c |
Date: Wed, 21 Aug 2019 12:09:47 -0400
|
|
|
136e2c |
Subject: [PATCH 89/99] test: missing firewalld.conf
|
|
|
136e2c |
|
|
|
136e2c |
(cherry picked from commit d669a213d2986e6024bc88b9afa31eaac040ddc7)
|
|
|
136e2c |
(cherry picked from commit 4d9cfe95dad68a532a06aa8d5495ced694e19d6d)
|
|
|
136e2c |
---
|
|
|
136e2c |
src/tests/regression.at | 1 +
|
|
|
136e2c |
src/tests/regression/gh509.at | 9 +++++++++
|
|
|
136e2c |
2 files changed, 10 insertions(+)
|
|
|
136e2c |
create mode 100644 src/tests/regression/gh509.at
|
|
|
136e2c |
|
|
|
136e2c |
diff --git a/src/tests/regression.at b/src/tests/regression.at
|
|
|
136e2c |
index 6f57a1122925..3bc99543a9b1 100644
|
|
|
136e2c |
--- a/src/tests/regression.at
|
|
|
136e2c |
+++ b/src/tests/regression.at
|
|
|
136e2c |
@@ -23,3 +23,4 @@ m4_include([regression/gh258.at])
|
|
|
136e2c |
m4_include([regression/rhbz1715977.at])
|
|
|
136e2c |
m4_include([regression/rhbz1723610.at])
|
|
|
136e2c |
m4_include([regression/rhbz1734765.at])
|
|
|
136e2c |
+m4_include([regression/gh509.at])
|
|
|
136e2c |
diff --git a/src/tests/regression/gh509.at b/src/tests/regression/gh509.at
|
|
|
136e2c |
new file mode 100644
|
|
|
136e2c |
index 000000000000..332b2251263d
|
|
|
136e2c |
--- /dev/null
|
|
|
136e2c |
+++ b/src/tests/regression/gh509.at
|
|
|
136e2c |
@@ -0,0 +1,9 @@
|
|
|
136e2c |
+FWD_START_TEST([missing firewalld.conf file])
|
|
|
136e2c |
+AT_KEYWORDS(gh509)
|
|
|
136e2c |
+
|
|
|
136e2c |
+AT_CHECK([if ! rm ./firewalld.conf; then exit 77; fi])
|
|
|
136e2c |
+FWD_RESTART
|
|
|
136e2c |
+
|
|
|
136e2c |
+FWD_END_TEST([-e '/ERROR: Failed to load/d' dnl
|
|
|
136e2c |
+ -e '/WARNING:.*No such file or directory:.*/d' dnl
|
|
|
136e2c |
+ -e '/WARNING: Using fallback firewalld configuration settings/d'])
|
|
|
136e2c |
--
|
|
|
136e2c |
2.20.1
|
|
|
136e2c |
|