Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add qemu 2.4.0
[kvmfornfv.git]
/
qemu
/
tests
/
qapi-schema
/
returns-alternate.json
diff --git a/qemu/tests/qapi-schema/returns-alternate.json
b/qemu/tests/qapi-schema/returns-alternate.json
new file mode 100644
(file)
index 0000000..
972390c
--- /dev/null
+++ b/
qemu/tests/qapi-schema/returns-alternate.json
@@ -0,0
+1,3
@@
+# we reject returns if it is an alternate type
+{ 'alternate': 'Alt', 'data': { 'a': 'int', 'b': 'str' } }
+{ 'command': 'oops', 'returns': 'Alt' }