aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/enum-missing-data.err
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qapi-schema/enum-missing-data.err')
-rw-r--r--tests/qapi-schema/enum-missing-data.err6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qapi-schema/enum-missing-data.err b/tests/qapi-schema/enum-missing-data.err
new file mode 100644
index 0000000000..814ab2613d
--- /dev/null
+++ b/tests/qapi-schema/enum-missing-data.err
@@ -0,0 +1,6 @@
+Traceback (most recent call last):
+ File "tests/qapi-schema/test-qapi.py", line 19, in <module>
+ exprs = parse_schema(sys.argv[1])
+ File "scripts/qapi.py", line 334, in parse_schema
+ add_enum(expr['enum'], expr['data'])
+KeyError: 'data'