passdb: Make [ug]id_to_sid use xid_to_sid
[Samba.git] / testsuite / unittests / rpc_test_dummy_module.c
blob2b4e6e2e06729c0b1566066d8eea91abc877aeea
1 #include "replace.h"
2 #include <sys/types.h>
3 #include <signal.h>
4 #include <unistd.h>
5 #include "libcli/util/ntstatus.h"
7 NTSTATUS samba_init_module(void);
8 NTSTATUS samba_init_module(void)
10 int rc;
12 fprintf(stderr, "Test dummy executed!\n");
14 rc = setenv("UNITTEST_DUMMY_MODULE_LOADED", "TRUE", 1);
15 if (rc < 0) {
16 kill(getpid(), SIGILL);
17 exit(-1);
20 return NT_STATUS_OK;