aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/allow-preconfig-test.json
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-05-11 19:15:59 +0200
committerEduardo Habkost <ehabkost@redhat.com>2018-05-30 13:19:14 -0300
commit7b13f2c27a02499e9f8d955e0a4c68a5165e150d (patch)
tree8d01ed726c51bdac125af1f3ed1433adaad3ecbc /tests/qapi-schema/allow-preconfig-test.json
parentd6fe3d02e9a2ce7b63a0723d0b71f3013f59d705 (diff)
tests: qapi-schema tests for allow-preconfig
use new allow-preconfig parameter in tests and make sure that the QAPISchema can parse allow-preconfig correctly Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1526058959-41425-1-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/qapi-schema/allow-preconfig-test.json')
-rw-r--r--tests/qapi-schema/allow-preconfig-test.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/allow-preconfig-test.json b/tests/qapi-schema/allow-preconfig-test.json
new file mode 100644
index 0000000000..d9f0e914df
--- /dev/null
+++ b/tests/qapi-schema/allow-preconfig-test.json
@@ -0,0 +1,2 @@
+# Check against allow-preconfig illegal value
+{ 'command': 'allow-preconfig-test', 'allow-preconfig': 'some-string' }