aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2025-07-25 15:50:32 +0200
committerMarkus Armbruster <armbru@redhat.com>2025-09-01 13:44:01 +0200
commit67a392f7cf2b1662c21fb609b25bd745d25a2d05 (patch)
treebd0617ab2862a7071fd4c240bca05d5546932d77 /tests/qtest
parenta60e1544b515e5205489141fc76cdf26de3a5f1b (diff)
downloadqemu-67a392f7cf2b1662c21fb609b25bd745d25a2d05.zip
qemu-67a392f7cf2b1662c21fb609b25bd745d25a2d05.tar.gz
qemu-67a392f7cf2b1662c21fb609b25bd745d25a2d05.tar.bz2
qtest/qom-test: Traverse entire QOM tree
This test traverses the QOM sub-tree rooted at /machine. Traverse the entire tree instead. The x86_64 test runs some 40 additional QMP commands, and stays under 5s for me. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250725135034.2280477-4-armbru@redhat.com> Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Diffstat (limited to 'tests/qtest')
-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 7dea0d8..a2db56b 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);