[PATCH 0/6] Fix one corner case when parsing 'mdevctl' output
Kristina Hanicova
khanicov at redhat.com
Thu Aug 24 11:42:44 UTC 2023
On Thu, Aug 24, 2023 at 10:57 AM Michal Privoznik <mprivozn at redhat.com>
wrote:
> See 2/6 for explanation.
>
> Michal Prívozník (6):
> nodedevmdevctltest: Rename mdevctl-list-empty test case
> nodeDeviceParseMdevctlJSON: Accept empty string
> nodedevmdevctltest: Introduce a test case for empty mdevctl output
> node_device_driver: Deduplicate mediated devices listing
> virMdevctlList: Don't check for !output
> virjsontest: Introduce a test case for an empty array
>
> src/node_device/node_device_driver.c | 40 ++++++-------------
> .../mdevctl-list-empty-array.json | 1 +
> .../mdevctl-list-empty-array.out.xml | 0
> .../mdevctl-list-empty.json | 1 -
> tests/nodedevmdevctltest.c | 1 +
> tests/virjsontest.c | 1 +
> 6 files changed, 16 insertions(+), 28 deletions(-)
> create mode 100644 tests/nodedevmdevctldata/mdevctl-list-empty-array.json
> create mode 100644
> tests/nodedevmdevctldata/mdevctl-list-empty-array.out.xml
Reviewed-by: Kristina Hanicova <khanicov at redhat.com>
Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230824/5922ccdb/attachment-0001.htm>
More information about the libvir-list
mailing list