From: Jonathan Rajotte Date: Wed, 26 May 2021 21:17:02 +0000 (-0400) Subject: Add pretty_xml utils X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=inline;h=bb901ead0aea0fecad53e661ed79067faa4149c8;hp=bb901ead0aea0fecad53e661ed79067faa4149c8;p=lttng-tools.git Add pretty_xml utils This util reads on stdin and outputs an indented/formatted xml. It is equivalent to "xmllint --format -". It will be used for MI trigger testing. For testing we will essentially diff the output of the command against the expected output. While a nicely formatted multi-line output is not necessary for a machine to do the diff, the human that will have to debug it will surely appreciate it. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: Ie1597644941c55ce3e59f7ff16f196ac36325179 ---