summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
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/nbench
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/nbench')
-rw-r--r--source4/torture/nbench/nbench.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c
index 81c6a67b9f..3921bf66e8 100644
--- a/source4/torture/nbench/nbench.c
+++ b/source4/torture/nbench/nbench.c
@@ -221,3 +221,9 @@ BOOL torture_nbench(struct torture_context *torture)
printf("\nThroughput %g MB/sec\n", nbio_result());
return correct;
}
+
+NTSTATUS torture_nbench_init(void)
+{
+ register_torture_op("BENCH-NBENCH", torture_nbench);
+ return NT_STATUS_OK;
+}