Author: tridge
Date: 2005-09-22 03:51:50 +0000 (Thu, 22 Sep 2005)
New Revision: 10403

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10403

Log:
fixed the basedn for testing, and add a debug showing the size of the test in 
ldbtest

Modified:
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c   2005-09-22 01:50:58 UTC 
(rev 10402)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c   2005-09-22 03:51:50 UTC 
(rev 10403)
@@ -383,11 +383,14 @@
        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);

Reply via email to