]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/qapi-schema: Rename doc-bad-args to doc-bad-command-arg
authorMarkus Armbruster <armbru@redhat.com>
Wed, 15 Mar 2017 12:57:24 +0000 (13:57 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 16 Mar 2017 06:13:03 +0000 (07:13 +0100)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-36-git-send-email-armbru@redhat.com>

tests/Makefile.include
tests/qapi-schema/doc-bad-args.err [deleted file]
tests/qapi-schema/doc-bad-args.exit [deleted file]
tests/qapi-schema/doc-bad-args.json [deleted file]
tests/qapi-schema/doc-bad-args.out [deleted file]
tests/qapi-schema/doc-bad-command-arg.err [new file with mode: 0644]
tests/qapi-schema/doc-bad-command-arg.exit [new file with mode: 0644]
tests/qapi-schema/doc-bad-command-arg.json [new file with mode: 0644]
tests/qapi-schema/doc-bad-command-arg.out [new file with mode: 0644]

index 505f9184046b99dea6de5e47550f39e533076f86..734c7ff6dace86f970b83b9d88b497b37c8b5a95 100644 (file)
@@ -367,7 +367,7 @@ qapi-schema += base-cycle-direct.json
 qapi-schema += base-cycle-indirect.json
 qapi-schema += command-int.json
 qapi-schema += comments.json
-qapi-schema += doc-bad-args.json
+qapi-schema += doc-bad-command-arg.json
 qapi-schema += doc-bad-symbol.json
 qapi-schema += doc-before-include.json
 qapi-schema += doc-before-pragma.json
diff --git a/tests/qapi-schema/doc-bad-args.err b/tests/qapi-schema/doc-bad-args.err
deleted file mode 100644 (file)
index 5d44d9b..0000000
+++ /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 (file)
index d00491f..0000000
+++ /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 (file)
index 048e0fc..0000000
+++ /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 (file)
index e69de29..0000000
diff --git a/tests/qapi-schema/doc-bad-command-arg.err b/tests/qapi-schema/doc-bad-command-arg.err
new file mode 100644 (file)
index 0000000..8075b14
--- /dev/null
@@ -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 (file)
index 0000000..d00491f
--- /dev/null
@@ -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 (file)
index 0000000..048e0fc
--- /dev/null
@@ -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 (file)
index 0000000..e69de29