'reserved-type-list.json',
'returns-alternate.json',
'returns-array-bad.json',
+ 'returns-bad-type.json',
'returns-dict.json',
'returns-unknown.json',
- 'returns-whitelist.json',
'string-code-point-31.json',
'string-code-point-127.json',
'struct-base-clash-deep.json',
--- /dev/null
+returns-bad-type.json: In command 'no-way-this-will-get-whitelisted':
+returns-bad-type.json:14: command's 'returns' cannot take array type ['int']
--- /dev/null
+# we enforce that 'returns' be a dict or array of dict unless whitelisted
+
+{ 'pragma': { 'returns-whitelist': [
+ 'human-monitor-command', 'query-tpm-models', 'guest-get-time' ] } }
+
+{ 'command': 'human-monitor-command',
+ 'data': {'command-line': 'str', '*cpu-index': 'int'},
+ 'returns': 'str' }
+{ 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] }
+{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }
+{ 'command': 'guest-get-time',
+ 'returns': 'int' }
+
+{ 'command': 'no-way-this-will-get-whitelisted',
+ 'returns': [ 'int' ] }
+++ /dev/null
-returns-whitelist.json: In command 'no-way-this-will-get-whitelisted':
-returns-whitelist.json:14: command's 'returns' cannot take array type ['int']
+++ /dev/null
-# we enforce that 'returns' be a dict or array of dict unless whitelisted
-
-{ 'pragma': { 'returns-whitelist': [
- 'human-monitor-command', 'query-tpm-models', 'guest-get-time' ] } }
-
-{ 'command': 'human-monitor-command',
- 'data': {'command-line': 'str', '*cpu-index': 'int'},
- 'returns': 'str' }
-{ 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] }
-{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }
-{ 'command': 'guest-get-time',
- 'returns': 'int' }
-
-{ 'command': 'no-way-this-will-get-whitelisted',
- 'returns': [ 'int' ] }