From fa938470d3286dfc90e40fe50946060b477f9526 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 7 Feb 2018 14:44:37 -0600 Subject: [PATCH] Account for changes to vm_reflect functions --- tests/vm_reflect.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/vm_reflect.c b/tests/vm_reflect.c index b9e6bed..0169526 100644 --- a/tests/vm_reflect.c +++ b/tests/vm_reflect.c @@ -23,9 +23,7 @@ have_fun() ref->cpu_info = fun; ref->machine_info = fun; ref->pause = fun; - ref->resume = fun; - ref->disasm_on = fun; - ref->disasm_off = fun; + ref->disasm = fun; } static void @@ -50,9 +48,7 @@ Test(vm_reflect, create) cr_assert_eq(ref->cpu_info, NULL); cr_assert_eq(ref->machine_info, NULL); cr_assert_eq(ref->pause, NULL); - cr_assert_eq(ref->resume, NULL); - cr_assert_eq(ref->disasm_on, NULL); - cr_assert_eq(ref->disasm_off, NULL); + cr_assert_eq(ref->disasm, NULL); } // Not much to do here @@ -73,6 +69,4 @@ Test(vm_reflect, cpu_info) /* Test(vm_reflect, machine_info) */ /* Test(vm_reflect, pause) */ -/* Test(vm_reflect, resume) */ -/* Test(vm_reflect, disasm_on) */ -/* Test(vm_reflect, disasm_off) */ +/* Test(vm_reflect, disasm) */