1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/tests/virjsondata/parse-Harder-in.json
Ján Tomko adaaa91724 virjsontest: introduce DO_TEST_PARSE_FILE
Introduce a new macro DO_TEST_PARSE_FILE which takes the input JSON
from a file instead of a C string.

This lets us get rid of quote escaping and makes the JSON easier to
edit.

The output JSON is still taken from a string and will be moved
separately.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
2019-04-03 14:44:29 +02:00

5 lines
192 B
JSON

{"return": [{"filename": \
"unix:/home/berrange/.libvirt/qemu/lib/tck.monitor,server",\
"label": "charmonitor"}, {"filename": "pty:/dev/pts/158",\
"label": "charserial0"}], "id": "libvirt-3"}