]> xenbits.xensource.com Git - libvirt.git/commit
cputest: Avoid calling json_reformat in cpu-parse.sh
authorJiri Denemark <jdenemar@redhat.com>
Tue, 26 Sep 2017 21:02:48 +0000 (23:02 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 Oct 2017 07:23:20 +0000 (09:23 +0200)
commit9d62af7283d3a840423ec625610b645c9f0739d8
tree201510830d9983026e9c26c90aef293105bc6da4
parent0d88c25f2c29d4792041637dd783a5e88e5ba17e
cputest: Avoid calling json_reformat in cpu-parse.sh

Various version of json_reformat use different number of spaces for
indenting. Let's use a simple python reformatter to gain full control
over the formatting for consistent results.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/cputestdata/cpu-parse.sh
tests/cputestdata/cpu-reformat.py [new file with mode: 0755]