mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
This commit is contained in:
parent
669009579d
commit
e71cd4778b
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
local_tests="LOCAL-NTLMSSP LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET LOCAL-PAC LOCAL-STRLIST LOCAL-SDDL"
|
||||
local_tests="LOCAL-NTLMSSP LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET LOCAL-PAC LOCAL-STRLIST LOCAL-SDDL LOCAL-NDR"
|
||||
|
||||
if [ $# -lt 0 ]; then
|
||||
cat <<EOF
|
||||
|
@ -108,8 +108,7 @@ OBJ_FILES = \
|
||||
rpc/bind.o \
|
||||
rpc/dssetup.o \
|
||||
rpc/alter_context.o \
|
||||
rpc/bench.o \
|
||||
rpc/ndr.o
|
||||
rpc/bench.o
|
||||
REQUIRED_SUBSYSTEMS = \
|
||||
NDR_ALL RPC_NDR_UNIXINFO RPC_NDR_SAMR RPC_NDR_WINREG RPC_NDR_INITSHUTDOWN \
|
||||
RPC_NDR_OXIDRESOLVER RPC_NDR_EVENTLOG RPC_NDR_ECHO RPC_NDR_SVCCTL \
|
||||
|
@ -13,7 +13,8 @@ OBJ_FILES = \
|
||||
resolve.o \
|
||||
util_strlist.o \
|
||||
util_file.o \
|
||||
sddl.o
|
||||
sddl.o \
|
||||
ndr.o
|
||||
REQUIRED_SUBSYSTEMS = \
|
||||
LIBSMB \
|
||||
MESSAGING \
|
||||
|
@ -81,13 +81,13 @@ BOOL test_check_string_terminator(TALLOC_CTX *mem_ctx)
|
||||
return True;
|
||||
}
|
||||
|
||||
BOOL torture_rpc_ndr(void)
|
||||
BOOL torture_local_ndr(void)
|
||||
{
|
||||
NTSTATUS status;
|
||||
TALLOC_CTX *mem_ctx;
|
||||
BOOL ret = True;
|
||||
|
||||
mem_ctx = talloc_init("torture_rpc_mgmt");
|
||||
mem_ctx = talloc_init("torture_local_ndr");
|
||||
|
||||
ret &= test_check_string_terminator(mem_ctx);
|
||||
|
@ -2305,7 +2305,6 @@ static struct {
|
||||
{"RPC-ALTERCONTEXT", torture_rpc_alter_context, 0},
|
||||
{"RPC-JOIN", torture_rpc_join, 0},
|
||||
{"RPC-DSSYNC", torture_rpc_dssync, 0},
|
||||
{"RPC-NDR", torture_rpc_ndr, 0},
|
||||
|
||||
/* local (no server) testers */
|
||||
{"LOCAL-NTLMSSP", torture_ntlmssp_self_check, 0},
|
||||
@ -2322,6 +2321,7 @@ static struct {
|
||||
{"LOCAL-REGISTRY", torture_registry, 0},
|
||||
{"LOCAL-RESOLVE", torture_local_resolve, 0},
|
||||
{"LOCAL-SDDL", torture_local_sddl, 0},
|
||||
{"LOCAL-NDR", torture_local_ndr, 0},
|
||||
|
||||
/* COM (Component Object Model) testers */
|
||||
{"COM-SIMPLE", torture_com_simple, 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user