diff options
author | Günther Deschner <gd@samba.org> | 2009-10-16 00:33:38 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-10-16 02:04:29 +0200 |
commit | 612deb2699c87fc05b98290e1791493603e7b686 (patch) | |
tree | 2cc5d5a086314432feaa747d6b66ced251c3d161 /source4/torture/winbind | |
parent | 8b247f35389a899c805d018adb92f372e562a378 (diff) | |
download | samba-612deb2699c87fc05b98290e1791493603e7b686.tar.gz samba-612deb2699c87fc05b98290e1791493603e7b686.tar.xz samba-612deb2699c87fc05b98290e1791493603e7b686.zip |
s4-smbtorture: add very basic libwbclient testsuite.
Guenther
Diffstat (limited to 'source4/torture/winbind')
-rw-r--r-- | source4/torture/winbind/config.mk | 4 | ||||
-rw-r--r-- | source4/torture/winbind/winbind.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/winbind/config.mk b/source4/torture/winbind/config.mk index d2c57e9c97..2bd613d649 100644 --- a/source4/torture/winbind/config.mk +++ b/source4/torture/winbind/config.mk @@ -6,11 +6,11 @@ SUBSYSTEM = smbtorture OUTPUT_TYPE = MERGED_OBJ INIT_FUNCTION = torture_winbind_init PRIVATE_DEPENDENCIES = \ - LIBWINBIND-CLIENT torture PAM_ERRORS + LIBWBCLIENT LIBWINBIND-CLIENT torture PAM_ERRORS # End SUBSYSTEM TORTURE_WINBIND ################################# -TORTURE_WINBIND_OBJ_FILES = $(addprefix $(torturesrcdir)/winbind/, winbind.o struct_based.o) +TORTURE_WINBIND_OBJ_FILES = $(addprefix $(torturesrcdir)/winbind/, winbind.o struct_based.o) ../nsswitch/libwbclient/tests/wbclient.o $(eval $(call proto_header_template,$(torturesrcdir)/winbind/proto.h,$(TORTURE_WINBIND_OBJ_FILES:.o=.c))) diff --git a/source4/torture/winbind/winbind.c b/source4/torture/winbind/winbind.c index b12e92552e..63d31a5f1e 100644 --- a/source4/torture/winbind/winbind.c +++ b/source4/torture/winbind/winbind.c @@ -26,6 +26,7 @@ NTSTATUS torture_winbind_init(void) struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "WINBIND"); torture_suite_add_suite(suite, torture_winbind_struct_init()); + torture_suite_add_suite(suite, torture_wbclient()); suite->description = talloc_strdup(suite, "WINBIND tests"); |