aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-11-17 12:44:56 +0100
committerThomas Huth <thuth@redhat.com>2023-12-20 10:29:23 +0100
commit05f2320d40cfea74fad4bfc9ec5b645a3964ea05 (patch)
tree905a5444cf4c24ce8bfab6bc8116c3cf9f027d71 /tests
parenta36ea38abde3bba671d95c6dff61fcc3828aee22 (diff)
downloadqemu-05f2320d40cfea74fad4bfc9ec5b645a3964ea05.zip
qemu-05f2320d40cfea74fad4bfc9ec5b645a3964ea05.tar.gz
qemu-05f2320d40cfea74fad4bfc9ec5b645a3964ea05.tar.bz2
tests/unit/test-io-task: Rename "qemu:dummy" to avoid colon in the name
Type names should not contain special characters like ":" (so that they are easier to use with QAPI and other parts). We are going to forbid such names in an upcoming patch. Thus let's replace the ":" here with a "-". Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231117114457.177308-5-thuth@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test-io-task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test-io-task.c b/tests/unit/test-io-task.c
index 953a50a..115dba8 100644
--- a/tests/unit/test-io-task.c
+++ b/tests/unit/test-io-task.c
@@ -25,7 +25,7 @@
#include "qapi/error.h"
#include "qemu/module.h"
-#define TYPE_DUMMY "qemu:dummy"
+#define TYPE_DUMMY "qemu-dummy"
typedef struct DummyObject DummyObject;
typedef struct DummyObjectClass DummyObjectClass;