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:
Michal Privoznik 2023-08-24 09:58:33 +02:00
parent 4e00d7fb04
commit a3f0c3852e
3 changed files with 1 additions and 0 deletions

View 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");