tests/qapi-schema: Switch member name clash test to struct
commite75d4225b76842ec899f25e8ff39b070119f033f
authorMarkus Armbruster <armbru@redhat.com>
Tue, 23 Mar 2021 09:40:22 +0000 (23 10:40 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 23 Mar 2021 21:31:31 +0000 (23 22:31 +0100)
tree92f99d87c6f4ea0ae843dfd508f82ef3dab5a099
parent05ebf841efac494d8bd1f6d74642c3e9a3df4c19
tests/qapi-schema: Switch member name clash test to struct

Test args-name-clash covers command parameter name clash.  This
effectively covers struct member name clash as well.  The next commit
will make parameter name clash impossible.  Convert args-name-clash
from testing command to testing a struct, and rename it to
struct-member-name-clash.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-26-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Commit message typo fixed]
tests/qapi-schema/args-name-clash.err [deleted file]
tests/qapi-schema/meson.build
tests/qapi-schema/struct-member-name-clash.err [new file with mode: 0644]
tests/qapi-schema/struct-member-name-clash.json [moved from tests/qapi-schema/args-name-clash.json with 64% similarity]
tests/qapi-schema/struct-member-name-clash.out [moved from tests/qapi-schema/args-name-clash.out with 100% similarity]