gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r4028 - GNUnet/src/applications/tbench


From: grothoff
Subject: [GNUnet-SVN] r4028 - GNUnet/src/applications/tbench
Date: Sat, 23 Dec 2006 13:54:22 -0800 (PST)

Author: grothoff
Date: 2006-12-23 13:54:19 -0800 (Sat, 23 Dec 2006)
New Revision: 4028

Modified:
   GNUnet/src/applications/tbench/peer1.conf
   GNUnet/src/applications/tbench/peer1udp.conf
   GNUnet/src/applications/tbench/peer2.conf
   GNUnet/src/applications/tbench/peer2udp.conf
   GNUnet/src/applications/tbench/tbenchtest.c
   GNUnet/src/applications/tbench/tbenchtest_udp.c
Log:
Tbenchtest always returns failure and also tries to create logs under 
/var/lib. Fix those.

-- hl


Modified: GNUnet/src/applications/tbench/peer1.conf
===================================================================
--- GNUnet/src/applications/tbench/peer1.conf   2006-12-23 21:53:35 UTC (rev 
4027)
+++ GNUnet/src/applications/tbench/peer1.conf   2006-12-23 21:54:19 UTC (rev 
4028)
@@ -6,7 +6,7 @@
 # VALGRIND        = 300
 HELLOEXPIRES     = 60
 LOGLEVEL        = WARNING
-# LOGFILE         = 
+LOGFILE         = $GNUNETD_HOME/logs
 KEEPLOG         = 0
 PIDFILE         = $GNUNETD_HOME/gnunetd.pid
 HOSTS          = $GNUNETD_HOME/data/hosts/

Modified: GNUnet/src/applications/tbench/peer1udp.conf
===================================================================
--- GNUnet/src/applications/tbench/peer1udp.conf        2006-12-23 21:53:35 UTC 
(rev 4027)
+++ GNUnet/src/applications/tbench/peer1udp.conf        2006-12-23 21:54:19 UTC 
(rev 4028)
@@ -6,7 +6,7 @@
 # VALGRIND        = 300
 HELLOEXPIRES     = 60
 LOGLEVEL        = WARNING
-# LOGFILE         = 
+LOGFILE         = $GNUNETD_HOME/logs 
 KEEPLOG         = 0
 PIDFILE         = $GNUNETD_HOME/gnunetd.pid
 HOSTS          = $GNUNETD_HOME/data/hosts/

Modified: GNUnet/src/applications/tbench/peer2.conf
===================================================================
--- GNUnet/src/applications/tbench/peer2.conf   2006-12-23 21:53:35 UTC (rev 
4027)
+++ GNUnet/src/applications/tbench/peer2.conf   2006-12-23 21:54:19 UTC (rev 
4028)
@@ -6,7 +6,7 @@
 # VALGRIND        = 300
 HELLOEXPIRES     = 60
 LOGLEVEL        = WARNING
-# LOGFILE         = 
+LOGFILE         = $GNUNETD_HOME/logs
 KEEPLOG         = 0
 PIDFILE         = $GNUNETD_HOME/gnunetd.pid
 HOSTS          = $GNUNETD_HOME/data/hosts/

Modified: GNUnet/src/applications/tbench/peer2udp.conf
===================================================================
--- GNUnet/src/applications/tbench/peer2udp.conf        2006-12-23 21:53:35 UTC 
(rev 4027)
+++ GNUnet/src/applications/tbench/peer2udp.conf        2006-12-23 21:54:19 UTC 
(rev 4028)
@@ -6,7 +6,7 @@
 # VALGRIND        = 300
 HELLOEXPIRES     = 60
 LOGLEVEL        = WARNING
-# LOGFILE         = 
+LOGFILE         = $GNUNETD_HOME/logs
 KEEPLOG         = 0
 PIDFILE         = $GNUNETD_HOME/gnunetd.pid
 HOSTS          = $GNUNETD_HOME/data/hosts/

Modified: GNUnet/src/applications/tbench/tbenchtest.c
===================================================================
--- GNUnet/src/applications/tbench/tbenchtest.c 2006-12-23 21:53:35 UTC (rev 
4027)
+++ GNUnet/src/applications/tbench/tbenchtest.c 2006-12-23 21:54:19 UTC (rev 
4028)
@@ -147,6 +147,7 @@
   int left;
   struct GC_Configuration * cfg;
 
+  ok = 1;
   cfg = GC_create_C_impl();
   if (-1 == GC_parse_configuration(cfg,
                                   "check.conf")) {

Modified: GNUnet/src/applications/tbench/tbenchtest_udp.c
===================================================================
--- GNUnet/src/applications/tbench/tbenchtest_udp.c     2006-12-23 21:53:35 UTC 
(rev 4027)
+++ GNUnet/src/applications/tbench/tbenchtest_udp.c     2006-12-23 21:54:19 UTC 
(rev 4028)
@@ -146,6 +146,7 @@
   int left;
   struct GC_Configuration * cfg;
 
+  ok = 1;
   cfg = GC_create_C_impl();
   if (-1 == GC_parse_configuration(cfg,
                                   "check.conf")) {





reply via email to

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