diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-14 17:34:48 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-24 14:07:22 +0200 |
commit | 137cf6a9be01234e0ef42ced2af8f00d009b3496 (patch) | |
tree | 1821c83656e147ec93079d57959610de92ae25ce /tests/qapi-schema | |
parent | 8d40738d2f60a70aaece8d990a8b95af04e085a2 (diff) |
tests/qapi-schema: Cover unknown pragma
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190914153506.2151-2-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema')
-rw-r--r-- | tests/qapi-schema/pragma-unknown.err | 1 | ||||
-rw-r--r-- | tests/qapi-schema/pragma-unknown.exit | 1 | ||||
-rw-r--r-- | tests/qapi-schema/pragma-unknown.json | 1 | ||||
-rw-r--r-- | tests/qapi-schema/pragma-unknown.out | 0 |
4 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/pragma-unknown.err b/tests/qapi-schema/pragma-unknown.err new file mode 100644 index 0000000000..6ef2058316 --- /dev/null +++ b/tests/qapi-schema/pragma-unknown.err @@ -0,0 +1 @@ +tests/qapi-schema/pragma-unknown.json:1: Unknown pragma 'no-such-pragma' diff --git a/tests/qapi-schema/pragma-unknown.exit b/tests/qapi-schema/pragma-unknown.exit new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/tests/qapi-schema/pragma-unknown.exit @@ -0,0 +1 @@ +1 diff --git a/tests/qapi-schema/pragma-unknown.json b/tests/qapi-schema/pragma-unknown.json new file mode 100644 index 0000000000..c51bbbb53f --- /dev/null +++ b/tests/qapi-schema/pragma-unknown.json @@ -0,0 +1 @@ +{ 'pragma': { 'no-such-pragma': false } } diff --git a/tests/qapi-schema/pragma-unknown.out b/tests/qapi-schema/pragma-unknown.out new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/qapi-schema/pragma-unknown.out |