summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/qapi-schema-test.json
diff options
context:
space:
mode:
authorPeter Xu2018-03-26 08:38:59 +0200
committerEric Blake2018-03-27 17:17:45 +0200
commit1a1b11dc0fb519f6dbc420925bde032e772fd610 (patch)
tree9ea485a78d0988d595a2a658965d61be0a28f878 /tests/qapi-schema/qapi-schema-test.json
parenttests: let qapi-schema tests detect oob (diff)
downloadqemu-1a1b11dc0fb519f6dbc420925bde032e772fd610.tar.gz
qemu-1a1b11dc0fb519f6dbc420925bde032e772fd610.tar.xz
qemu-1a1b11dc0fb519f6dbc420925bde032e772fd610.zip
tests: add oob-test for qapi-schema
It simply tests the new OOB capability, and make sure the QAPISchema can parse it correctly. Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180326063901.27425-7-peterx@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/qapi-schema-test.json')
-rw-r--r--tests/qapi-schema/qapi-schema-test.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/qapi-schema-test.json b/tests/qapi-schema/qapi-schema-test.json
index c72dbd8050..06e30f452e 100644
--- a/tests/qapi-schema/qapi-schema-test.json
+++ b/tests/qapi-schema/qapi-schema-test.json
@@ -139,6 +139,9 @@
{ 'command': 'boxed-struct', 'boxed': true, 'data': 'UserDefZero' }
{ 'command': 'boxed-union', 'data': 'UserDefNativeListUnion', 'boxed': true }
+# Smoke test on Out-Of-Band
+{ 'command': 'an-oob-command', 'allow-oob': true }
+
# For testing integer range flattening in opts-visitor. The following schema
# corresponds to the option format:
#