blob: d067b6e2d2b8de6684be5e393d0b14eee27d77b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
int samba_init_module(void);
int samba_init_module(void)
{
int rc;
fprintf(stderr, "Test dummy executed!\n");
rc = setenv("UNITTEST_DUMMY_MODULE_LOADED", "TRUE", 1);
if (rc < 0) {
kill(getpid(), SIGILL);
exit(-1);
}
return 0;
}
|