aboutsummaryrefslogtreecommitdiff
path: root/tests/boot-order-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/boot-order-test.c')
-rw-r--r--tests/boot-order-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c
index 9096a4b5df..9d98c48a3d 100644
--- a/tests/boot-order-test.c
+++ b/tests/boot-order-test.c
@@ -33,10 +33,10 @@ static void test_a_boot_order(const char *machine,
{
uint64_t actual;
- global_qtest = qtest_startf("-nodefaults%s%s %s",
- machine ? " -M " : "",
- machine ?: "",
- test_args);
+ global_qtest = qtest_initf("-nodefaults%s%s %s",
+ machine ? " -M " : "",
+ machine ?: "",
+ test_args);
actual = read_boot_order();
g_assert_cmphex(actual, ==, expected_boot);
qmp_discard_response("{ 'execute': 'system_reset' }");