]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemumonitorjsontest: Test qemuMonitorJSONSystemPowerdown
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Oct 2013 14:28:51 +0000 (16:28 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Oct 2013 10:47:53 +0000 (12:47 +0200)
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.

tests/qemumonitorjsontest.c

index 30e8c4781ce381647bbf04dac1a45f03d12936cb..026beee7635fb3fbd42d6c967a6ce6e08c280ecf 100644 (file)
@@ -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);