summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-22 03:51:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:40 -0500
commitcd67aa92a52c4acbb728b2ce49aad33ff53a25a7 (patch)
tree8ea4750a1dd9400b6b7013d09c4b22b09875baf1 /source4/lib/ldb/tools
parent51cbc188df03f9ee38599fe5a87ec2608117a845 (diff)
downloadsamba-cd67aa92a52c4acbb728b2ce49aad33ff53a25a7.tar.gz
samba-cd67aa92a52c4acbb728b2ce49aad33ff53a25a7.tar.bz2
samba-cd67aa92a52c4acbb728b2ce49aad33ff53a25a7.zip
r10403: fixed the basedn for testing, and add a debug showing the size of the test in ldbtest
(This used to be commit 740b9f7537d60c7dbd48fe592587b12b304c52d1)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/ldbtest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbtest.c b/source4/lib/ldb/tools/ldbtest.c
index 68d3ab2484..eeedd49e84 100644
--- a/source4/lib/ldb/tools/ldbtest.c
+++ b/source4/lib/ldb/tools/ldbtest.c
@@ -383,11 +383,14 @@ static void usage(void)
talloc_steal(mem_ctx, options);
if (options->basedn == NULL) {
- options->basedn = "ou=Ldb Test,ou=People,o=University of Michigan,c=US";
+ options->basedn = "ou=Ldb Test,ou=People,o=University of Michigan,c=TEST";
}
srandom(1);
+ printf("Testing with num-records=%d and num-searches=%d\n",
+ options->num_records, options->num_searches);
+
start_test(ldb, options->num_records, options->num_searches);
start_test_index(&ldb);