summaryrefslogtreecommitdiff
path: root/source4/torture/rap
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-17 02:20:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:11 -0500
commit845df42a19bade71bf6985d006e8e54018c53bdf (patch)
tree178f954f612466265049694564e7bf950524e0f9 /source4/torture/rap
parent835d8ed2f61fff798ac49156df94b86ace704b6d (diff)
downloadsamba-845df42a19bade71bf6985d006e8e54018c53bdf.tar.gz
samba-845df42a19bade71bf6985d006e8e54018c53bdf.tar.bz2
samba-845df42a19bade71bf6985d006e8e54018c53bdf.zip
r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
Diffstat (limited to 'source4/torture/rap')
-rw-r--r--source4/torture/rap/rap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c
index b68b5f690f..787d146076 100644
--- a/source4/torture/rap/rap.c
+++ b/source4/torture/rap/rap.c
@@ -478,3 +478,11 @@ BOOL torture_rap_scan(struct torture_context *torture)
return True;
}
+
+NTSTATUS torture_rap_init(void)
+{
+ register_torture_op("RAP-BASIC", torture_rap_basic);
+ register_torture_op("SCAN-RAP", torture_rap_scan);
+
+ return NT_STATUS_OK;
+}