Browse Source
qapi-schema-test was already testing that we could have a command returning int, but burned a command name in the whitelist. Merge the redundant positive test returns-int, and pick a name that reduces the whitelist size. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1444710158-8723-6-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>pull/30/head
committed by
Markus Armbruster
9 changed files with 10 additions and 20 deletions
@ -1 +0,0 @@ |
|||
0 |
|||
@ -1,3 +0,0 @@ |
|||
# It is okay (although not extensible) to return a non-dictionary |
|||
# But to make it work, the name must be in a whitelist |
|||
{ 'command': 'guest-get-time', 'returns': 'int' } |
|||
@ -1,3 +0,0 @@ |
|||
object :empty |
|||
command guest-get-time None -> int |
|||
gen=True success_response=True |
|||
Loading…
Reference in new issue