From f2e8e4d2619629b75dd6263b2aa58939538fa7e2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 6 Apr 2024 13:49:36 +0200 Subject: tests: Reboot the VM after the test So it does not have to timeout. --- tests/testlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/testlib.c b/tests/testlib.c index 12c5e771..f82990f9 100644 --- a/tests/testlib.c +++ b/tests/testlib.c @@ -62,7 +62,7 @@ mach_port_t device_priv(void) void halt() { - int ret = host_reboot(host_priv_port, RB_HALT); + int ret = host_reboot(host_priv_port, 0); ASSERT_RET(ret, "host_reboot() failed!"); while (1) ; -- cgit v1.2.3