gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1069 - GNUnet/src/applications/gap


From: grothoff
Subject: [GNUnet-SVN] r1069 - GNUnet/src/applications/gap
Date: Sun, 26 Jun 2005 08:14:40 -0700 (PDT)

Author: grothoff
Date: 2005-06-26 08:14:37 -0700 (Sun, 26 Jun 2005)
New Revision: 1069

Modified:
   GNUnet/src/applications/gap/gaptest.c
   GNUnet/src/applications/gap/peer2.conf
Log:
up

Modified: GNUnet/src/applications/gap/gaptest.c
===================================================================
--- GNUnet/src/applications/gap/gaptest.c       2005-06-26 15:04:30 UTC (rev 
1068)
+++ GNUnet/src/applications/gap/gaptest.c       2005-06-26 15:14:37 UTC (rev 
1069)
@@ -34,6 +34,9 @@
   FREENONNULL(setConfigurationString("GNUNETD",
                                     "LOGFILE",
                                     NULL));
+  FREENONNULL(setConfigurationString("GNUNETD",
+                                    "LOGLEVEL",
+                                    "DEBUG"));
   return OK;
 }
 
@@ -277,8 +280,8 @@
   daemon2 = startGNUnetDaemon(NO);
   /* in case existing HELOs have expired */
   sleep(5);
-  system("cp peer1/data/hosts/* peer2/data/hosts/");
-  system("cp peer2/data/hosts/* peer1/data/hosts/");
+  system("cp ./peer1/data/hosts/* peer2/data/hosts/");
+  system("cp ./peer2/data/hosts/* peer1/data/hosts/");
   if (daemon1 != -1) {
     if (! termProcess(daemon1))
       DIE_STRERROR("kill");
@@ -301,13 +304,13 @@
   daemon2 = startGNUnetDaemon(NO);
   sleep(5);
 
-  ret = 0;
-  left = 5;
   /* wait for connection or abort with error */
 #else
   daemon1 = -1;
   daemon2 = -1;
 #endif
+  ret = 0;
+  left = 5;
   do {
     sock = getClientSocket();
     if (sock == NULL) {

Modified: GNUnet/src/applications/gap/peer2.conf
===================================================================
--- GNUnet/src/applications/gap/peer2.conf      2005-06-26 15:04:30 UTC (rev 
1068)
+++ GNUnet/src/applications/gap/peer2.conf      2005-06-26 15:14:37 UTC (rev 
1069)
@@ -10,7 +10,7 @@
 KEEPLOG         = 0
 PIDFILE         = $GNUNETD_HOME/gnunetd.pid
 HOSTS          = $GNUNETD_HOME/data/hosts/
-APPLICATIONS = "advertising topology fs"
+APPLICATIONS = "advertising topology fs stats"
 TRANSPORTS  = "tcp"
 
 [MODULES]





reply via email to

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