firewalld/repair-test-cases.patch

39 lines
1.3 KiB
Diff
Raw Permalink Normal View History

2020-07-29 20:18:05 +08:00
From 9904b48fdce1e28b122d8f64961d2dda81d4c546 Mon Sep 17 00:00:00 2001
From: sherlock2010 <15151851377@163.com>
Date: Wed, 29 Jul 2020 17:29:59 +0800
Subject: [PATCH 3/3] third commit
2019-09-30 10:38:52 -04:00
---
src/tests/regression/gh366.at | 1 +
src/tests/regression/rhbz1514043.at | 2 +-
2020-07-29 20:18:05 +08:00
2 files changed, 2 insertions(+), 1 deletion(-)
2019-09-30 10:38:52 -04:00
diff --git a/src/tests/regression/gh366.at b/src/tests/regression/gh366.at
2020-07-29 20:18:05 +08:00
index 1441a6b..be33ed7 100644
2019-09-30 10:38:52 -04:00
--- a/src/tests/regression/gh366.at
+++ b/src/tests/regression/gh366.at
@@ -22,6 +22,7 @@ ACCEPT udp ::/0 fe80::/64 udp dpt:546 ctstate NEW,UNTRACKED
ACCEPT udp ::/0 ff02::fb udp dpt:5353 ctstate NEW,UNTRACKED
2020-07-29 20:18:05 +08:00
])])
2019-09-30 10:38:52 -04:00
+FWD_CHECK([-q --zone=public --remove-service=mdns])
FWD_CHECK([-q --zone=public --add-service=mdns])
check_firewall_backend_output
FWD_CHECK([-q --zone=public --remove-service=mdns])
diff --git a/src/tests/regression/rhbz1514043.at b/src/tests/regression/rhbz1514043.at
2020-07-29 20:18:05 +08:00
index efc33e0..694a198 100644
2019-09-30 10:38:52 -04:00
--- a/src/tests/regression/rhbz1514043.at
+++ b/src/tests/regression/rhbz1514043.at
2020-07-29 20:18:05 +08:00
@@ -5,7 +5,7 @@ FWD_CHECK([-q --set-log-denied=all])
2019-09-30 10:38:52 -04:00
FWD_CHECK([-q --permanent --zone=public --add-service=samba])
FWD_RELOAD
FWD_CHECK([--zone=public --list-all | TRIM | grep ^services], 0, [dnl
2020-07-29 20:18:05 +08:00
-services: dhcpv6-client samba ssh
2019-09-30 10:38:52 -04:00
+services: ssh mdns dhcpv6-client samba
])
2020-07-29 20:18:05 +08:00
2019-09-30 10:38:52 -04:00
dnl check that log denied actually took effect
--
2020-07-29 20:18:05 +08:00
1.8.3.1
2019-09-30 10:38:52 -04:00