summary refs log tree commit diff stats
path: root/tests/qtest/qom-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/qom-test.c')
-rw-r--r--tests/qtest/qom-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/qom-test.c b/tests/qtest/qom-test.c
index 7dea0d802d..a2db56bf22 100644
--- a/tests/qtest/qom-test.c
+++ b/tests/qtest/qom-test.c
@@ -211,7 +211,7 @@ static void test_machine(gconstpointer data)
 
     test_properties(qts, "/machine", true);
 
-    qlist_append_str(paths, "/machine");
+    qlist_append_str(paths, "/");
     test_list_get(qts, paths);
     test_list_get_value(qts);