gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13529 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r13529 - gnunet/src/transport
Date: Wed, 3 Nov 2010 10:56:22 +0100

Author: wachs
Date: 2010-11-03 10:56:22 +0100 (Wed, 03 Nov 2010)
New Revision: 13529

Modified:
   gnunet/src/transport/test_quota_compliance.c
Log:
improved output


Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c        2010-11-03 09:54:58 UTC 
(rev 13528)
+++ gnunet/src/transport/test_quota_compliance.c        2010-11-03 09:56:22 UTC 
(rev 13529)
@@ -395,8 +395,8 @@
   {
          GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                          "\nQuota compliance failed: \n"\
-                         "Quota allowed: %10llu kB/s\n"\
-                         "Throughput   : %10llu kB/s\n", (quota_allowed / 
(1024)), (total_bytes_sent/(duration.rel_value / 1000)/1024));
+                         "Quota allowed: %10llu kB/s (%llu B/s)\n"\
+                         "Throughput   : %10llu kB/s (%llu B/s)\n", 
(quota_allowed / (1024)), quota_allowed, (total_bytes_sent/(duration.rel_value 
/ 1000)/1024), total_bytes_sent/(duration.rel_value / 1000));
          ok = 1;
          end();
          return;
@@ -774,7 +774,7 @@
          else
                  GNUNET_asprintf(&logger, 
"test-quota-compliance-%s-%s","https","symmetric");
   }
-
+  fprintf(stderr,  "Running `%s'\n", logger);
   GNUNET_log_setup ("test-quota-compliance",
 #if VERBOSE
                     "DEBUG",




reply via email to

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