Commit 1a1b11dc authored by Peter Xu's avatar Peter Xu Committed by Eric Blake
Browse files

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: default avatarPeter Xu <peterx@redhat.com>
Message-Id: <20180326063901.27425-7-peterx@redhat.com>
Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarEric Blake <eblake@redhat.com>
parent 4bebca1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -523,6 +523,7 @@ qapi-schema += missing-comma-object.json
qapi-schema += missing-type.json
qapi-schema += nested-struct-data.json
qapi-schema += non-objects.json
qapi-schema += oob-test.json
qapi-schema += pragma-doc-required-crap.json
qapi-schema += pragma-extra-junk.json
qapi-schema += pragma-name-case-whitelist-crap.json
+1 −0
Original line number Diff line number Diff line
tests/qapi-schema/oob-test.json:2: 'allow-oob' of command 'oob-command-1' should only use true value
+1 −0
Original line number Diff line number Diff line
1
+2 −0
Original line number Diff line number Diff line
# Check against oob illegal value
{ 'command': 'oob-command-1', 'allow-oob': 'some-string' }
+0 −0

Empty file added.

Loading