[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3431 - GNUnet/src/applications/dht/module
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3431 - GNUnet/src/applications/dht/module |
Date: |
Sat, 30 Sep 2006 22:34:03 -0700 (PDT) |
Author: grothoff
Date: 2006-09-30 22:34:02 -0700 (Sat, 30 Sep 2006)
New Revision: 3431
Modified:
GNUnet/src/applications/dht/module/Makefile.am
GNUnet/src/applications/dht/module/datastore_memory_test.c
Log:
fixing testcase
Modified: GNUnet/src/applications/dht/module/Makefile.am
===================================================================
--- GNUnet/src/applications/dht/module/Makefile.am 2006-10-01 05:16:17 UTC
(rev 3430)
+++ GNUnet/src/applications/dht/module/Makefile.am 2006-10-01 05:34:02 UTC
(rev 3431)
@@ -22,6 +22,7 @@
libgnunetdht_datastore_memory_la_SOURCES = \
datastore_memory.c
libgnunetdht_datastore_memory_la_LIBADD = \
+ $(top_builddir)/src/util/crypto/libgnunetutil_crypto.la \
$(top_builddir)/src/util/libgnunetutil.la
libgnunetdht_datastore_memory_la_LDFLAGS = \
-export-dynamic
@@ -37,6 +38,7 @@
datastore_memory_test.c
datastore_memory_test_LDADD = \
$(top_builddir)/src/applications/dht/module/libgnunetdht_datastore_memory.la
\
+ $(top_builddir)/src/util/crypto/libgnunetutil_crypto.la \
$(top_builddir)/src/util/libgnunetutil.la
Modified: GNUnet/src/applications/dht/module/datastore_memory_test.c
===================================================================
--- GNUnet/src/applications/dht/module/datastore_memory_test.c 2006-10-01
05:16:17 UTC (rev 3430)
+++ GNUnet/src/applications/dht/module/datastore_memory_test.c 2006-10-01
05:34:02 UTC (rev 3431)
@@ -33,6 +33,8 @@
#define DUMP(v) fprintf(stderr, "At %d: \n", __LINE__);
+static struct GE_Context * ectx;
+
static int store(Blockstore * s,
char * key,
char * val) {
@@ -162,26 +164,16 @@
return 0;
}
-/**
- * Perform option parsing from the command line.
- */
-static int parseCommandLine(int argc,
- char * argv[]) {
- return OK;
-}
-
int main(int argc,
char * argv[]) {
Blockstore * s;
int i;
- initUtil(argc, argv, &parseCommandLine);
s = create_blockstore_memory(65536);
for (i=0;i<65536;i++)
if (0 != test(s))
{ DUMP(s); return 1; }
destroy_blockstore_memory(s);
- doneUtil();
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3431 - GNUnet/src/applications/dht/module,
grothoff <=