X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fkernel%2Fmodule-template.c;h=e153a5b482d35d693cd478ebcc48a4c08898065b;hb=97dcdc7c96276f34a126d0485d23c592b77a212e;hp=29f870b3749e3882c970d30f829f0f8f2051a8e1;hpb=884367fdde7eb9232dab47998c4cad44c28591a1;p=lttv.git diff --git a/tests/kernel/module-template.c b/tests/kernel/module-template.c index 29f870b3..e153a5b4 100644 --- a/tests/kernel/module-template.c +++ b/tests/kernel/module-template.c @@ -12,7 +12,11 @@ static int ltt_test_init(void) { printk(KERN_ALERT "test init\n"); - return 0; + + + printf(KERN_ALERT "test end\n"); + + return -EAGAIN; /* Fail will directly unload the module */ } static void ltt_test_exit(void)