[libvirt] [PATCHv2 08/14] virjsontest: switch DO_TEST_PARSE_FILE to use output files

Peter Krempa pkrempa at redhat.com
Wed Apr 3 09:22:36 UTC 2019


On Tue, Apr 02, 2019 at 17:41:47 +0200, Ján Tomko wrote:
> 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 <jtomko at redhat.com>
> ---
>  tests/virjsondata/parse-Harder-out.json      |  4 ++
>  tests/virjsondata/parse-NotSoSimple-out.json |  3 ++
>  tests/virjsondata/parse-Simple-out.json      |  1 +
>  tests/virjsondata/parse-VeryHard-out.json    | 24 +++++++++
>  tests/virjsontest.c                          | 56 +++++---------------
>  5 files changed, 44 insertions(+), 44 deletions(-)
>  create mode 100644 tests/virjsondata/parse-Harder-out.json
>  create mode 100644 tests/virjsondata/parse-NotSoSimple-out.json
>  create mode 100644 tests/virjsondata/parse-Simple-out.json
>  create mode 100644 tests/virjsondata/parse-VeryHard-out.json

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190403/86d5877e/attachment-0001.sig>


More information about the libvir-list mailing list