[libvirt PATCH] remote: adapt augeas test case for dynamic polkit config change

Daniel P. Berrangé posted 1 patch 3 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200903153842.1918049-1-berrange@redhat.com
src/remote/test_libvirtd.aug.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[libvirt PATCH] remote: adapt augeas test case for dynamic polkit config change
Posted by Daniel P. Berrangé 3 years, 7 months ago
We need to use @default_auth@ in the augeas test case to match
its use in the main libvirtd.conf.in file.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushed as a CI fix

 src/remote/test_libvirtd.aug.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/remote/test_libvirtd.aug.in b/src/remote/test_libvirtd.aug.in
index 1e17397af6..56c4487a01 100644
--- a/src/remote/test_libvirtd.aug.in
+++ b/src/remote/test_libvirtd.aug.in
@@ -14,8 +14,8 @@ module Test_@DAEMON_NAME@ =
         { "unix_sock_rw_perms" = "0770" }
         { "unix_sock_admin_perms" = "0700" }
         { "unix_sock_dir" = "@runstatedir@/libvirt" }
-        { "auth_unix_ro" = "none" }
-        { "auth_unix_rw" = "none" }
+        { "auth_unix_ro" = "@default_auth@" }
+        { "auth_unix_rw" = "@default_auth@" }
 @CUT_ENABLE_IP@
         { "auth_tcp" = "sasl" }
         { "auth_tls" = "none" }
-- 
2.26.2