mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
nodedevmdevctltest: Introduce a test case for empty mdevctl output
As explained earlier, 'mdevctl' can output nothing. Add a test case to nodedevmdevctltest which covers this situation. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
This commit is contained in:
parent
4e00d7fb04
commit
a3f0c3852e
0
tests/nodedevmdevctldata/mdevctl-list-empty.json
Normal file
0
tests/nodedevmdevctldata/mdevctl-list-empty.json
Normal file
0
tests/nodedevmdevctldata/mdevctl-list-empty.out.xml
Normal file
0
tests/nodedevmdevctldata/mdevctl-list-empty.out.xml
Normal file
@ -470,6 +470,7 @@ mymain(void)
|
||||
|
||||
DO_TEST_LIST_DEFINED();
|
||||
|
||||
DO_TEST_PARSE_JSON("mdevctl-list-empty");
|
||||
DO_TEST_PARSE_JSON("mdevctl-list-empty-array");
|
||||
DO_TEST_PARSE_JSON("mdevctl-list-multiple");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user