Re: [libvirt] [PATCH 2/3] virjsontest: switch DO_TEST_PARSE_FILE to use output files

2019-02-13 Thread Andrea Bolognani
On Tue, 2019-02-12 at 16:57 +0100, Ján Tomko wrote: [...] > +{"return":[{"filename":\ > +"unix:/home/berrange/.libvirt/qemu/lib/tck.monitor,server",\ > +"label":"charmonitor"},{"filename":"pty:/dev/pts/158",\ > +"label":"charserial0"}],"id":"libvirt-3"} Same questions as the previous patch when it

[libvirt] [PATCH 2/3] virjsontest: switch DO_TEST_PARSE_FILE to use output files

2019-02-12 Thread Ján Tomko
Also switch the expected output of DO_TEST_PARSE_FILE to be in a file, now that we demonstrated the input files match the expected string representation. Signed-off-by: Ján Tomko --- tests/virjsondata/parse-Harder-out.json | 4 ++ tests/virjsondata/parse-NotSoSimple-out.json | 3 ++ tests