diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-13 21:21:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:13 -0500 |
commit | 42e919b3b0ba215403d90675848e282e3a0128ef (patch) | |
tree | 98fef1267faf4ca216f09ca867e07837b36cab0a /source4/torture/com/simple.c | |
parent | b1bf44a4e1190fe41440e731adaab9db14881508 (diff) | |
download | samba-42e919b3b0ba215403d90675848e282e3a0128ef.tar.gz samba-42e919b3b0ba215403d90675848e282e3a0128ef.tar.bz2 samba-42e919b3b0ba215403d90675848e282e3a0128ef.zip |
r14347: Add registration function to allow registering smbtorture test(suites)
Fix mechanism for breaking lines when printing test names.
(This used to be commit c1061f5fe478918f996fdeaa382a1f5552135bb9)
Diffstat (limited to 'source4/torture/com/simple.c')
-rw-r--r-- | source4/torture/com/simple.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/com/simple.c b/source4/torture/com/simple.c index 4e4f91c971..d2bb4ad4e3 100644 --- a/source4/torture/com/simple.c +++ b/source4/torture/com/simple.c @@ -24,6 +24,7 @@ #include "lib/com/dcom/dcom.h" #include "librpc/gen_ndr/com_dcom.h" #include "lib/cmdline/popt_common.h" +#include "torture/torture.h" #define DEFAULT_TRANS 4096 @@ -95,3 +96,8 @@ BOOL torture_com_simple(void) return ret; } + +NTSTATUS torture_com_init(void) +{ + return register_torture_op("COM-SIMPLE", torture_com_simple, 0); +} |