#include "system/filesys.h"
#include "libcli/raw/libcliraw.h"
+#include "torture/raw/proto.h"
+
static BOOL check_delete_on_close(struct smbcli_state *cli, int fnum,
const char *fname, BOOL expect_it)
{
#################################
# Start SUBSYSTEM TORTURE_BASIC
[SUBSYSTEM::TORTURE_BASIC]
+PRIVATE_PROTO_HEADER = \
+ basic/proto.h
OBJ_FILES = \
basic/scanner.o \
basic/utable.o \
#################################
# Start SUBSYSTEM TORTURE_RAW
[SUBSYSTEM::TORTURE_RAW]
+PRIVATE_PROTO_HEADER = \
+ raw/proto.h
OBJ_FILES = \
raw/qfsinfo.o \
raw/qfileinfo.o \
#################################
# Start SUBSYSTEM TORTURE_COM
[SUBSYSTEM::TORTURE_COM]
+PRIVATE_PROTO_HEADER = \
+ com/proto.h
OBJ_FILES = \
com/simple.o
REQUIRED_SUBSYSTEMS = \
#################################
# Start SUBSYSTEM TORTURE_RPC
[SUBSYSTEM::TORTURE_RPC]
+PRIVATE_PROTO_HEADER = \
+ rpc/proto.h
OBJ_FILES = \
rpc/join.o \
rpc/lsa.o \
#################################
# Start SUBSYSTEM TORTURE_RAP
[SUBSYSTEM::TORTURE_RAP]
+PRIVATE_PROTO_HEADER = \
+ rap/proto.h
OBJ_FILES = \
rap/rap.o
REQUIRED_SUBSYSTEMS = \
#################################
# Start SUBSYSTEM TORTURE_AUTH
[SUBSYSTEM::TORTURE_AUTH]
+PRIVATE_PROTO_HEADER = \
+ auth/proto.h
OBJ_FILES = \
auth/ntlmssp.o \
auth/pac.o
#################################
# Start SUBSYSTEM TORTURE_NBENCH
[SUBSYSTEM::TORTURE_NBENCH]
+PRIVATE_PROTO_HEADER = \
+ nbench/proto.h
OBJ_FILES = \
nbench/nbio.o \
nbench/nbench.o
#################################
# Start SUBSYSTEM TORTURE_LDAP
[SUBSYSTEM::TORTURE_LDAP]
+PRIVATE_PROTO_HEADER = \
+ ldap/proto.h
OBJ_FILES = \
ldap/common.o \
ldap/basic.o \
#################################
# Start SUBSYSTEM TORTURE_NBT
[SUBSYSTEM::TORTURE_NBT]
+PRIVATE_PROTO_HEADER = \
+ nbt/proto.h
OBJ_FILES = \
nbt/query.o \
nbt/register.o \
#################################
# Start SUBSYSTEM TORTURE_NET
[SUBSYSTEM::TORTURE_NET]
+PRIVATE_PROTO_HEADER = \
+ libnet/proto.h
OBJ_FILES = \
libnet/userinfo.o \
libnet/userman.o \
#include "libcli/ldap/ldap_client.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/ldap/proto.h"
+
static BOOL test_bind_simple(struct ldap_connection *conn, const char *userdn, const char *password)
{
NTSTATUS status;
#################################
# Start SUBSYSTEM TORTURE_LOCAL
[SUBSYSTEM::TORTURE_LOCAL]
+PRIVATE_PROTO_HEADER = \
+ proto.h
OBJ_FILES = \
iconv.o \
../../lib/talloc/testsuite.o \
#include "system/filesys.h"
#include "pstring.h"
+#include "torture/nbench/proto.h"
+
int nbench_line_count = 0;
static int timelimit = 600;
static int warmup;
#include "librpc/gen_ndr/ndr_samr.h"
#include "lib/socket/socket.h"
#include "lib/events/events.h"
+#include "torture/rpc/proto.h"
#define TEST_NAME "TORTURE_TEST"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_dssetup.h"
-
+#include "torture/rpc/proto.h"
BOOL torture_rpc_alter_context(void)
{
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "torture/rpc/drsuapi.h"
+#include "torture/rpc/proto.h"
BOOL test_DsBind(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct DsPrivate *priv)
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "torture/rpc/drsuapi.h"
+#include "torture/rpc/proto.h"
#include "ldb/include/ldb.h"
static BOOL test_DsCrackNamesMatrix(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
#include "lib/cmdline/popt_common.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "libcli/cldap/cldap.h"
+#include "torture/ldap/proto.h"
struct DsSyncBindInfo {
struct dcerpc_pipe *pipe;
#include "includes.h"
#include "libnet/libnet.h"
+#include "torture/rpc/proto.h"
+
#define TORTURE_NETBIOS_NAME "smbtorturejoin"
#include "auth/auth.h"
#include "smb.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/rpc/proto.h"
static const char *machine_password;
#include "auth/auth.h"
#include "lib/crypto/crypto.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/rpc/proto.h"
#define TEST_MACHINE_NAME "samlogontest"
#define TEST_USER_NAME "samlogontestuser"
#include "dlinklist.h"
#include "lib/crypto/crypto.h"
#include "system/time.h"
+#include "torture/rpc/proto.h"
#define TEST_MACHINE_NAME "samsynctest"
#define TEST_WKSTA_MACHINE_NAME "samsynctest2"
#include "includes.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "torture/rpc/proto.h"
#define TEST_MACHINE_NAME "schannel"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_lsa.h"
+#include "torture/rpc/proto.h"
+
static void init_lsa_String(struct lsa_String *name, const char *s)
{
name->string = s;
#include "smb.h"
#include "lib/ldb/include/ldb.h"
+#include "torture/rpc/proto.h"
struct test_join {
struct dcerpc_pipe *p;
#################################
# Start SUBSYSTEM TORTURE_SMB2
[SUBSYSTEM::TORTURE_SMB2]
+PRIVATE_PROTO_HEADER = \
+ proto.h
OBJ_FILES = \
connect.o \
scan.o \
#include "libcli/smb2/smb2.h"
#include "libcli/smb2/smb2_calls.h"
+#include "torture/smb2/proto.h"
+
/*
send a close
*/
#include "libcli/smb2/smb2.h"
#include "libcli/smb2/smb2_calls.h"
+#include "torture/smb2/proto.h"
+
static struct {
const char *name;
uint16_t level;
#include "libcli/smb2/smb2.h"
#include "libcli/smb2/smb2_calls.h"
+#include "torture/smb2/proto.h"
+
static struct {
const char *name;
uint16_t level;
#include "lib/cmdline/popt_common.h"
#include "lib/events/events.h"
+#include "torture/smb2/proto.h"
#define FNAME "scan-getinfo.dat"
#define DNAME "scan-getinfo.dir"
#include "libcli/smb2/smb2.h"
#include "libcli/smb2/smb2_calls.h"
+#include "torture/smb2/proto.h"
+
#define BASEDIR ""
/* basic testing of all SMB2 setinfo calls
#include "libcli/libcli.h"
#include "librpc/rpc/dcerpc_table.h"
+#include "torture/basic/proto.h"
+#include "torture/raw/proto.h"
+#include "torture/smb2/proto.h"
+#include "torture/rpc/proto.h"
+#include "torture/rap/proto.h"
+#include "torture/auth/proto.h"
+#include "torture/local/proto.h"
+#include "torture/nbench/proto.h"
+#include "torture/ldap/proto.h"
+#include "torture/com/proto.h"
+#include "torture/nbt/proto.h"
+#include "torture/libnet/proto.h"
+
int torture_nprocs=4;
int torture_numops=10;
int torture_entries=1000;