mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-10 07:20:02 +00:00
adaaa91724
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>
5 lines
192 B
JSON
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"}
|