aboutsummaryrefslogtreecommitdiff
path: root/tests/device-introspect-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/device-introspect-test.c')
-rw-r--r--tests/device-introspect-test.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/tests/device-introspect-test.c b/tests/device-introspect-test.c
index f240b5c827..8a27b4a702 100644
--- a/tests/device-introspect-test.c
+++ b/tests/device-introspect-test.c
@@ -45,17 +45,10 @@ static void test_one_device(const char *type)
QDict *resp;
char *help, *qom_tree;
- /*
- * Skip this part for the abstract device test case, because
- * device-list-properties crashes for such devices.
- * FIXME fix it not to crash
- */
- if (strcmp(type, "device")) {
- resp = qmp("{'execute': 'device-list-properties',"
- " 'arguments': {'typename': %s}}",
- type);
- QDECREF(resp);
- }
+ resp = qmp("{'execute': 'device-list-properties',"
+ " 'arguments': {'typename': %s}}",
+ type);
+ QDECREF(resp);
help = hmp("device_add \"%s,help\"", type);
g_free(help);