mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
09104dc417
Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Oct 18 14:24:39 CEST 2017 on sn-devel-144
22 lines
381 B
C
22 lines
381 B
C
#include "replace.h"
|
|
#include <sys/types.h>
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
#include "libcli/util/ntstatus.h"
|
|
|
|
NTSTATUS samba_init_module(void);
|
|
NTSTATUS 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 NT_STATUS_OK;
|
|
}
|