From 04dcf7b42df943b6845a9ef999e5fc545f355340 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 16 Apr 2008 12:00:43 +0000 Subject: [PATCH] ebl Make regression tests working git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6832 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/tools/tcdbtest.c | 75 ------------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 bacula/src/tools/tcdbtest.c 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