diff options
Diffstat (limited to 'tests/boot-order-test.c')
-rw-r--r-- | tests/boot-order-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c index 60c5545e45..508469a894 100644 --- a/tests/boot-order-test.c +++ b/tests/boot-order-test.c @@ -41,7 +41,7 @@ static void test_a_boot_order(const char *machine, * system_reset only requests reset. We get a RESET event after * the actual reset completes. Need to wait for that. */ - qmp_discard_response(""); /* HACK: wait for event */ + qmp_eventwait("RESET"); actual = read_boot_order(); g_assert_cmphex(actual, ==, expected_reboot); qtest_quit(global_qtest); |