summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-10 04:51:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:01 -0500
commit72343b9615c2ecbff0676e4a5d1b5ee4fe50ad58 (patch)
tree790d76678cdf9e011bd970788258e81653c8b3e9 /source4/torture/torture.c
parent4480a62ec3845d1e4f7d3f161f542d7cfe748320 (diff)
downloadsamba-72343b9615c2ecbff0676e4a5d1b5ee4fe50ad58.tar.gz
samba-72343b9615c2ecbff0676e4a5d1b5ee4fe50ad58.tar.bz2
samba-72343b9615c2ecbff0676e4a5d1b5ee4fe50ad58.zip
r15014: added a simple batch oplock benchmark
Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and kernel oplocks enabled. With kernel oplock off it passes, though its a bit slow (This used to be commit 99df20246049c2645b04d5790b9e41c607872dc7)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 1c388dd6cb..9852d886f8 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -587,6 +587,7 @@ static struct {
{"BENCH-NBT", torture_bench_nbt, 0},
{"BENCH-WINS", torture_bench_wins, 0},
{"BENCH-CLDAP", torture_bench_cldap, 0},
+ {"BENCH-OPLOCK", torture_bench_oplock, 0},
/* RAW smb tests */
{"RAW-QFSINFO", torture_raw_qfsinfo, 0},