mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
90b69ba95d
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12780 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
21 lines
321 B
C
21 lines
321 B
C
#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;
|
|
}
|