summaryrefslogtreecommitdiff
path: root/pjlib/src/pjlib-test/main_mod.c
blob: 7978e36bf4344f0c433cf2eeb1364412caa2c262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* $Id$
 */
#include "test.h"
#include <linux/module.h>
#include <linux/kernel.h>

int init_module(void)
{
    printk(KERN_INFO "PJLIB test module loaded. Starting tests...\n");
    
    test_main();

    /* Prevent module from loading. We've finished test anyway.. */
    return 1;
}

void cleanup_module(void)
{
    printk(KERN_INFO "PJLIB test module unloading...\n");
}

MODULE_LICENSE("GPL");