git.samba.org
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
20d0571b46fcc774fe997bb43f593ed72b02ece0
[samba.git]
/
testsuite
/
unittests
/
rpc_test_dummy_module.c
1
#include "replace.h"
2
#include <sys/types.h>
3
#include <unistd.h>
4
#include "libcli/util/ntstatus.h"
5
6
NTSTATUS samba_init_module(void);
7
NTSTATUS samba_init_module(void)
8
{
9
int rc;
10
11
fprintf(stderr, "Test dummy executed!\n");
12
13
rc = setenv("UNITTEST_DUMMY_MODULE_LOADED", "TRUE", 1);
14
if (rc < 0) {
15
kill(getpid(), SIGILL);
16
exit(-1);
17
}
18
19
return NT_STATUS_OK;
20
}