From f3a873e6e671b01bc6928d7b56e77f95466e6990 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 29 Mar 2020 12:05:00 +0000 Subject: [PATCH] test: add additional verbosity --- test_libucontext.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test_libucontext.c b/test_libucontext.c index 7831edb..f3ed185 100644 --- a/test_libucontext.c +++ b/test_libucontext.c @@ -56,6 +56,9 @@ int main (int argc, const char *argv[]) { memset(st2, 'B', sizeof st2); + printf("setting up context 1\n"); + + getcontext(&ctx[1]); ctx[1].uc_stack.ss_sp = st1; ctx[1].uc_stack.ss_size = sizeof st1; @@ -63,6 +66,9 @@ int main (int argc, const char *argv[]) { makecontext(&ctx[1], f1, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10); + printf("setting up context 2\n"); + + getcontext(&ctx[2]); ctx[2].uc_stack.ss_sp = st2; ctx[2].uc_stack.ss_size = sizeof st2;