tests/qapi-schema: Cover duplicate 'Features:' line
commitfc68b9ffc933a5c38c0b880629a7f543a4a9b06b
authorMarkus Armbruster <armbru@redhat.com>
Fri, 16 Feb 2024 14:58:26 +0000 (16 15:58 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 26 Feb 2024 09:43:56 +0000 (26 10:43 +0100)
tree801639a3b091f092b082d54dfe27c667c9a40d2b
parent976474fdb2706626987677990e22f10d71918902
tests/qapi-schema: Cover duplicate 'Features:' line

We don't actually recognize the second 'Features:' line.  Instead, we
treat it as an untagged section.

If it was followed by feature description, we'd reject that like
"description of '@feat2:' follows a section".  Less than clear.

To be improved shortly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240216145841.2099240-3-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qapi-schema/doc-duplicate-features.err [new file with mode: 0644]
tests/qapi-schema/doc-duplicate-features.json [new file with mode: 0644]
tests/qapi-schema/doc-duplicate-features.out [new file with mode: 0644]
tests/qapi-schema/meson.build