Blame SOURCES/0008-test-functions-format-xml-output-with-xmllint.patch

63f414
From a9e05358d0070d4326be0df882f4d480822f4f06 Mon Sep 17 00:00:00 2001
63f414
From: Eric Garver <eric@garver.life>
63f414
Date: Fri, 5 Feb 2021 14:50:03 -0500
63f414
Subject: [PATCH 08/22] test(functions): format xml output with xmllint
63f414
63f414
(cherry picked from commit 53684e4b3b458b91fe7a71e7c3f8aa3363e5d108)
63f414
(cherry picked from commit c509b9a4c0749087e462bbb62a9808a43a74b3d9)
63f414
---
63f414
 src/tests/functions.at | 2 +-
63f414
 1 file changed, 1 insertion(+), 1 deletion(-)
63f414
63f414
diff --git a/src/tests/functions.at b/src/tests/functions.at
63f414
index 631beee6e2d8..8632f49e442f 100644
63f414
--- a/src/tests/functions.at
63f414
+++ b/src/tests/functions.at
63f414
@@ -471,7 +471,7 @@ m4_define([DBUS_INTROSPECT], [
63f414
     NS_CHECK([PIPESTATUS0([gdbus introspect --xml --system --dest=org.fedoraproject.FirewallD1 dnl
63f414
                            m4_ifblank([$1], [--object-path /org/fedoraproject/FirewallD1],
63f414
                                             [--object-path /org/fedoraproject/FirewallD1/$1])], dnl
63f414
-                          [m4_ifnblank([$2], [xmllint --xpath '$2' - |]) xmllint --c14n - | TRIM_WHITESPACE])],
63f414
+                          [m4_ifnblank([$2], [xmllint --xpath '$2' - |]) xmllint --format - | xmllint --c14n - | TRIM_WHITESPACE])],
63f414
              [$3], [m4_strip([$4])], [m4_strip([$5])], [$6], [$7])
63f414
 ])
63f414
 
63f414
-- 
63f414
2.27.0
63f414