summaryrefslogtreecommitdiff
path: root/source4/torture/winbind/winbind.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-16 14:19:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:48 -0500
commit81539d4966cd9b8e70a55b2c7cfd8f060bc633ed (patch)
treef6f041099ef1d356de7c5a305424e24a581789a9 /source4/torture/winbind/winbind.c
parentd6c66ea7746a18428cf85af5639ec562ce024dd2 (diff)
downloadsamba-81539d4966cd9b8e70a55b2c7cfd8f060bc633ed.tar.gz
r25188: add infrastructure for WINBIND-* tests in smbtorture
metze (This used to be commit 3807699c001ce7a8ee0acba071cc2bb7f4406cd9)
Diffstat (limited to 'source4/torture/winbind/winbind.c')
-rw-r--r--source4/torture/winbind/winbind.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/source4/torture/winbind/winbind.c b/source4/torture/winbind/winbind.c
new file mode 100644
index 00000000000..371f52beb5d
--- /dev/null
+++ b/source4/torture/winbind/winbind.c
@@ -0,0 +1,32 @@
+/*
+ Unix SMB/CIFS implementation.
+ SMB torture tester
+ Copyright (C) Stefan Metzmacher 2007
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "includes.h"
+#include "torture/torture.h"
+
+NTSTATUS torture_winbind_init(void)
+{
+ struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "WINBIND");
+
+ suite->description = talloc_strdup(suite, "WINBIND-protocol tests");
+
+ torture_register_suite(suite);
+
+ return NT_STATUS_OK;
+}