From: Michal Privoznik Date: Tue, 1 Oct 2013 14:28:51 +0000 (+0200) Subject: qemumonitorjsontest: Test qemuMonitorJSONSystemPowerdown X-Git-Tag: CVE-2013-4401~163 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=555b042016f2e75d5e08a49906bbad6514db8e03;p=thirdparty%2Flibvirt.git qemumonitorjsontest: Test qemuMonitorJSONSystemPowerdown Right now, we are testing qemuMonitorSystemPowerdown instead of qemuMonitorJSONSystemPowerdown. It makes no harm, as both functions have the same header and the former is just a wrapper over the latter. But we should be consistent as we're testing the JSON functions only in here. --- diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c index 30e8c4781c..026beee763 100644 --- a/tests/qemumonitorjsontest.c +++ b/tests/qemumonitorjsontest.c @@ -1785,7 +1785,7 @@ mymain(void) DO_TEST(GetDeviceAliases); DO_TEST(CPU); DO_TEST_SIMPLE("qmp_capabilities", qemuMonitorJSONSetCapabilities); - DO_TEST_SIMPLE("system_powerdown", qemuMonitorSystemPowerdown); + DO_TEST_SIMPLE("system_powerdown", qemuMonitorJSONSystemPowerdown); DO_TEST_SIMPLE("system_reset", qemuMonitorJSONSystemReset); DO_TEST_SIMPLE("migrate_cancel", qemuMonitorJSONMigrateCancel); DO_TEST_SIMPLE("inject-nmi", qemuMonitorJSONInjectNMI);