From bdc001caaa60dd71af8cddf73688f28ac5a32bc2 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 15 Mar 2017 13:57:24 +0100 Subject: tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-Id: <1489582656-31133-36-git-send-email-armbru@redhat.com> --- tests/qapi-schema/doc-bad-args.err | 1 - tests/qapi-schema/doc-bad-args.exit | 1 - tests/qapi-schema/doc-bad-args.json | 8 -------- tests/qapi-schema/doc-bad-args.out | 0 tests/qapi-schema/doc-bad-command-arg.err | 1 + tests/qapi-schema/doc-bad-command-arg.exit | 1 + tests/qapi-schema/doc-bad-command-arg.json | 8 ++++++++ tests/qapi-schema/doc-bad-command-arg.out | 0 8 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 tests/qapi-schema/doc-bad-args.err delete mode 100644 tests/qapi-schema/doc-bad-args.exit delete mode 100644 tests/qapi-schema/doc-bad-args.json delete mode 100644 tests/qapi-schema/doc-bad-args.out create mode 100644 tests/qapi-schema/doc-bad-command-arg.err create mode 100644 tests/qapi-schema/doc-bad-command-arg.exit create mode 100644 tests/qapi-schema/doc-bad-command-arg.json create mode 100644 tests/qapi-schema/doc-bad-command-arg.out (limited to 'tests/qapi-schema') diff --git a/tests/qapi-schema/doc-bad-args.err b/tests/qapi-schema/doc-bad-args.err deleted file mode 100644 index 5d44d9b668..0000000000 --- a/tests/qapi-schema/doc-bad-args.err +++ /dev/null @@ -1 +0,0 @@ -tests/qapi-schema/doc-bad-args.json:3: The following documented members are not in the declaration: b diff --git a/tests/qapi-schema/doc-bad-args.exit b/tests/qapi-schema/doc-bad-args.exit deleted file mode 100644 index d00491fd7e..0000000000 --- a/tests/qapi-schema/doc-bad-args.exit +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/tests/qapi-schema/doc-bad-args.json b/tests/qapi-schema/doc-bad-args.json deleted file mode 100644 index 048e0fc5ef..0000000000 --- a/tests/qapi-schema/doc-bad-args.json +++ /dev/null @@ -1,8 +0,0 @@ -# Arguments listed in the doc comment must exist in the actual schema - -## -# @foo: -# @a: a -# @b: b -## -{ 'command': 'foo', 'data': {'a': 'int'} } diff --git a/tests/qapi-schema/doc-bad-args.out b/tests/qapi-schema/doc-bad-args.out deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/qapi-schema/doc-bad-command-arg.err b/tests/qapi-schema/doc-bad-command-arg.err new file mode 100644 index 0000000000..8075b146ae --- /dev/null +++ b/tests/qapi-schema/doc-bad-command-arg.err @@ -0,0 +1 @@ +tests/qapi-schema/doc-bad-command-arg.json:3: The following documented members are not in the declaration: b diff --git a/tests/qapi-schema/doc-bad-command-arg.exit b/tests/qapi-schema/doc-bad-command-arg.exit new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/tests/qapi-schema/doc-bad-command-arg.exit @@ -0,0 +1 @@ +1 diff --git a/tests/qapi-schema/doc-bad-command-arg.json b/tests/qapi-schema/doc-bad-command-arg.json new file mode 100644 index 0000000000..048e0fc5ef --- /dev/null +++ b/tests/qapi-schema/doc-bad-command-arg.json @@ -0,0 +1,8 @@ +# Arguments listed in the doc comment must exist in the actual schema + +## +# @foo: +# @a: a +# @b: b +## +{ 'command': 'foo', 'data': {'a': 'int'} } diff --git a/tests/qapi-schema/doc-bad-command-arg.out b/tests/qapi-schema/doc-bad-command-arg.out new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3