From: Eric Bollengier Date: Wed, 16 Apr 2008 12:00:43 +0000 (+0000) Subject: ebl Make regression tests working X-Git-Tag: Release-3.0.0~1544 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d089e1ddff2f75e9329e2b78526bb02222069725;p=bacula%2Fbacula ebl Make regression tests working git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6832 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/tools/tcdbtest.c b/bacula/src/tools/tcdbtest.c deleted file mode 100644 index 543526ffd8..0000000000 --- a/bacula/src/tools/tcdbtest.c +++ /dev/null @@ -1,75 +0,0 @@ -#include -#include -#include -#include -#include -#include - -#define NITEMS 5000000 - -int main(int argc, char **argv){ - - TCHDB *hdb; - int ecode; - char *key, *value; - int i; - char save_key[200]; - - /* create the object */ - hdb = tchdbnew(); - - tchdbsetcache(hdb, 5000000); - tchdbtune(hdb, 9000000, -1, 16, 0); - - /* open the database */ - if(!tchdbopen(hdb, "casket.hdb", HDBOWRITER | HDBOCREAT)){ - ecode = tchdbecode(hdb); - fprintf(stderr, "open error: %s\n", tchdberrmsg(ecode)); - } - - for (i=0; i