s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface()
[Samba.git] / testsuite / unittests / rpc_test_dummy_module.c
blobd067b6e2d2b8de6684be5e393d0b14eee27d77b0
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <signal.h>
4 #include <unistd.h>
6 int samba_init_module(void);
7 int samba_init_module(void)
9 int rc;
11 fprintf(stderr, "Test dummy executed!\n");
13 rc = setenv("UNITTEST_DUMMY_MODULE_LOADED", "TRUE", 1);
14 if (rc < 0) {
15 kill(getpid(), SIGILL);
16 exit(-1);
19 return 0;