tests/qapi-schema: Rename returns-whitelist to returns-bad-type

This test covers returning "bad" types.  Pragma returns-whitelist is
just one aspect.  Naming it returns-whitelist is suboptimal.  Rename
to returns-bad-type.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-19-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
stable-6.0
Markus Armbruster 2021-03-23 10:40:15 +01:00
parent e90a61e3cc
commit ef8b3829f6
5 changed files with 3 additions and 3 deletions

View File

@ -166,9 +166,9 @@ schemas = [
'reserved-type-list.json',
'returns-alternate.json',
'returns-array-bad.json',
'returns-bad-type.json',
'returns-dict.json',
'returns-unknown.json',
'returns-whitelist.json',
'string-code-point-31.json',
'string-code-point-127.json',
'struct-base-clash-deep.json',

View File

@ -0,0 +1,2 @@
returns-bad-type.json: In command 'no-way-this-will-get-whitelisted':
returns-bad-type.json:14: command's 'returns' cannot take array type ['int']

View File

@ -1,2 +0,0 @@
returns-whitelist.json: In command 'no-way-this-will-get-whitelisted':
returns-whitelist.json:14: command's 'returns' cannot take array type ['int']