mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:torture: add idmap_tdb_common test code
This commit is contained in:
parent
0e06d944bc
commit
55870b0bf9
@ -1281,6 +1281,7 @@ SMBTORTURE_OBJ1 = torture/torture.o torture/nbio.o torture/scanner.o torture/uta
|
||||
torture/test_msg.o \
|
||||
torture/test_notify.o \
|
||||
torture/test_dbwrap_watch.o \
|
||||
torture/test_idmap_tdb_common.o \
|
||||
torture/t_strappend.o
|
||||
|
||||
SMBTORTURE_OBJ = $(SMBTORTURE_OBJ1) $(PARAM_OBJ) $(TLDAP_OBJ) \
|
||||
@ -1376,8 +1377,10 @@ IDMAP_RW_OBJ = winbindd/idmap_rw.o
|
||||
|
||||
IDMAP_TDB_COMMON_OBJ = winbindd/idmap_tdb_common.o
|
||||
|
||||
IDMAP_OBJ = winbindd/idmap.o winbindd/idmap_util.o $(IDMAP_RW_OBJ) \
|
||||
$(IDMAP_TDB_COMMON_OBJ) @IDMAP_STATIC@
|
||||
IDMAP_UTIL_OBJ = winbindd/idmap_util.o $(IDMAP_RW_OBJ) \
|
||||
$(IDMAP_TDB_COMMON_OBJ)
|
||||
|
||||
IDMAP_OBJ = winbindd/idmap.o $(IDMAP_UTIL_OBJ) @IDMAP_STATIC@
|
||||
|
||||
NSS_INFO_OBJ = winbindd/nss_info.o @NSS_INFO_STATIC@
|
||||
|
||||
@ -1968,7 +1971,7 @@ bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LI
|
||||
|
||||
bin/smbtorture: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
|
||||
@echo Linking $@
|
||||
@$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
|
||||
@$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
|
||||
$(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
|
||||
$(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
|
||||
|
||||
|
@ -109,5 +109,6 @@ bool run_msg_test(int dummy);
|
||||
bool run_notify_bench2(int dummy);
|
||||
bool run_notify_bench3(int dummy);
|
||||
bool run_dbwrap_watch1(int dummy);
|
||||
bool run_idmap_tdb_common_test(int dummy);
|
||||
|
||||
#endif /* __TORTURE_H__ */
|
||||
|
1028
source3/torture/test_idmap_tdb_common.c
Normal file
1028
source3/torture/test_idmap_tdb_common.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -8935,6 +8935,7 @@ static struct {
|
||||
{ "LOCAL-CONV-AUTH-INFO", run_local_conv_auth_info, 0},
|
||||
{ "LOCAL-sprintf_append", run_local_sprintf_append, 0},
|
||||
{ "LOCAL-hex_encode_buf", run_local_hex_encode_buf, 0},
|
||||
{ "LOCAL-IDMAP-TDB-COMMON", run_idmap_tdb_common_test, 0},
|
||||
{NULL, NULL, 0}};
|
||||
|
||||
|
||||
|
@ -558,6 +558,7 @@ SMBTORTURE_SRC1 = '''torture/torture.c torture/nbio.c torture/scanner.c torture/
|
||||
torture/test_notify.c
|
||||
lib/tevent_barrier.c
|
||||
torture/test_dbwrap_watch.c
|
||||
torture/test_idmap_tdb_common.c
|
||||
torture/t_strappend.c'''
|
||||
|
||||
SMBTORTURE_SRC = '''${SMBTORTURE_SRC1}
|
||||
@ -1394,6 +1395,7 @@ bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3,
|
||||
TLDAP
|
||||
RPC_NDR_ECHO
|
||||
WB_REQTRANS
|
||||
idmap
|
||||
''',
|
||||
vars=locals())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user