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

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