gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r263 - in GNUnet/src/applications/fs: ecrs lib


From: grothoff
Subject: [GNUnet-SVN] r263 - in GNUnet/src/applications/fs: ecrs lib
Date: Mon, 14 Feb 2005 17:56:40 -0800 (PST)

Author: grothoff
Date: 2005-02-14 17:56:38 -0800 (Mon, 14 Feb 2005)
New Revision: 263

Added:
   GNUnet/src/applications/fs/ecrs/check.conf
Modified:
   GNUnet/src/applications/fs/ecrs/Makefile.am
   GNUnet/src/applications/fs/ecrs/ecrstest.c
   GNUnet/src/applications/fs/lib/Makefile.am
Log:
improving ecrs test

Modified: GNUnet/src/applications/fs/ecrs/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/ecrs/Makefile.am 2005-02-15 01:53:47 UTC (rev 
262)
+++ GNUnet/src/applications/fs/ecrs/Makefile.am 2005-02-15 01:56:38 UTC (rev 
263)
@@ -45,3 +45,6 @@
   ecrstest.c
 ecrstest_LDADD = \
   $(top_builddir)/src/applications/fs/ecrs/libgnunetecrs.la 
+
+EXTRA_DIST = \
+  check.conf

Added: GNUnet/src/applications/fs/ecrs/check.conf
===================================================================
--- GNUnet/src/applications/fs/ecrs/check.conf  2005-02-15 01:53:47 UTC (rev 
262)
+++ GNUnet/src/applications/fs/ecrs/check.conf  2005-02-15 01:56:38 UTC (rev 
263)
@@ -0,0 +1,49 @@
+# This is the configuration for the GNUnet daemon when running
+# the test in this directory (make check).
+
+GNUNETD_HOME     = /tmp/gnunet-check
+
+[GNUNETD]
+HELOEXPIRES     = 60
+LOGLEVEL        = NOTHING
+LOGFILE         = $GNUNETD_HOME/logs
+KEEPLOG         = 0
+PIDFILE         = $GNUNETD_HOME/gnunetd.pid
+HOSTS          = $GNUNETD_HOME/data/hosts/
+APPLICATIONS = "fs"
+# TRANSPORTS = -- no transports!
+
+[MODULES]
+sqstore = "sqstore_mysql"
+# FIXME: use sqstore here once available!
+
+[NETWORK]
+PORT = 2087
+INTERFACE = eth0
+HELOEXCHANGE = NO
+TRUSTED = 127.0.0.0/8;
+
+[LOAD]
+INTERFACES      = eth0
+BASICLIMITING = YES
+MAXNETUPBPSTOTAL       = 50000
+MAXNETDOWNBPSTOTAL     = 50000
+MAXCPULOAD             = 100
+
+[FS]
+QUOTA  = 1024
+ACTIVEMIGRATION = NO
+DIR          = $GNUNETD_HOME/data/fs/
+INDEX-DIRECTORY = $GNUNETD_HOME/data/shared/
+INDEX-QUOTA = 8192
+
+[MYSQL]
+DELAYED = NO
+
+[GAP]
+TABLESIZE = 65536
+
+[DHT]
+BUCKETCOUNT = 160
+MASTER-TABLE-SIZE = 65536
+

Modified: GNUnet/src/applications/fs/ecrs/ecrstest.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/ecrstest.c  2005-02-15 01:53:47 UTC (rev 
262)
+++ GNUnet/src/applications/fs/ecrs/ecrstest.c  2005-02-15 01:56:38 UTC (rev 
263)
@@ -32,7 +32,6 @@
   int ok;
   Mutex lock;
   GNUNET_TCP_SOCKET * sock;
-  int i;
 
   daemon = fork();
   if (daemon == 0) {
@@ -42,8 +41,8 @@
     if (0 != execlp("gnunetd", /* what binary to execute, must be in $PATH! */
                    "gnunetd", /* arg0, path to gnunet binary */
                    "-d",  /* do not daemonize so we can easily kill you */
-                   "-L", 
-                   "DEBUG",  /* gnunetd loglevel */
+                   "-c",
+                   "check.conf", /* configuration file */
                    NULL)) {
       fprintf(stderr,
              _("'%s' failed: %s\n"),
@@ -61,7 +60,7 @@
   CHECK(sock != NULL);
   
   /* ACTUAL TEST CODE */
-  /* TO BE ADDED */
+  /* FIXME: actual test code is TO BE ADDED */
 
   /* END OF TEST CODE */
  FAILURE:

Modified: GNUnet/src/applications/fs/lib/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/lib/Makefile.am  2005-02-15 01:53:47 UTC (rev 
262)
+++ GNUnet/src/applications/fs/lib/Makefile.am  2005-02-15 01:56:38 UTC (rev 
263)
@@ -22,4 +22,4 @@
   $(top_builddir)/src/util/libgnunetutil.la 
 
 EXTRA_DIST = \
-  check.conf
\ No newline at end of file
+  check.conf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]