gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7802 - GNUnet/src/transports


From: gnunet
Subject: [GNUnet-SVN] r7802 - GNUnet/src/transports
Date: Sun, 19 Oct 2008 22:35:19 -0600 (MDT)

Author: grothoff
Date: 2008-10-19 22:35:19 -0600 (Sun, 19 Oct 2008)
New Revision: 7802

Modified:
   GNUnet/src/transports/Makefile.am
   GNUnet/src/transports/test.c
   GNUnet/src/transports/test_repeat.c
   GNUnet/src/transports/udp.c
Log:
fixing tests

Modified: GNUnet/src/transports/Makefile.am
===================================================================
--- GNUnet/src/transports/Makefile.am   2008-10-20 04:09:04 UTC (rev 7801)
+++ GNUnet/src/transports/Makefile.am   2008-10-20 04:35:19 UTC (rev 7802)
@@ -10,6 +10,7 @@
 
 if HAVE_MHD
   httptransport = libgnunettransport_http.la
+  httptest = test_http testrepeat_http
 endif
 
 if !MINGW
@@ -23,13 +24,11 @@
 lib_LTLIBRARIES = \
   libgnunetip.la
 
-check_PROGRAMS = \
+check_PROGRAMS = $(httptest) \
   test_udp \
   test_tcp \
-  test_http \
   testrepeat_udp \
-  testrepeat_tcp \
-  testrepeat_http 
+  testrepeat_tcp 
 
 TESTS = $(check_PROGRAMS)
 

Modified: GNUnet/src/transports/test.c
===================================================================
--- GNUnet/src/transports/test.c        2008-10-20 04:09:04 UTC (rev 7801)
+++ GNUnet/src/transports/test.c        2008-10-20 04:35:19 UTC (rev 7802)
@@ -200,15 +200,21 @@
     strstr (trans, ".")[0] = '\0';
   /* disable blacklists (loopback is often blacklisted)... */
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP",
-                                            "BLACKLIST", "");
+                                            "BLACKLISTV4", "");
+  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP",
+                                            "BLACKLISTV6", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP", "UPNP",
                                             "NO");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP",
-                                            "BLACKLIST", "");
+                                            "BLACKLISTV4", "");
+  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP",
+                                            "BLACKLISTV6", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP", "UPNP",
                                             "NO");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "HTTP",
-                                            "BLACKLIST", "");
+                                            "BLACKLISTV4", "");
+  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "HTTP",
+                                            "BLACKLISTV6", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "HTTP", "UPNP",
                                             "NO");
 

Modified: GNUnet/src/transports/test_repeat.c
===================================================================
--- GNUnet/src/transports/test_repeat.c 2008-10-20 04:09:04 UTC (rev 7801)
+++ GNUnet/src/transports/test_repeat.c 2008-10-20 04:35:19 UTC (rev 7802)
@@ -203,19 +203,21 @@
     strstr (trans, ".")[0] = '\0';
   /* disable blacklists (loopback is often blacklisted)... */
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP",
-                                            "BLACKLIST", "");
+                                            "BLACKLISTV4", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP", "UPNP",
                                             "NO");
-  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP6",
-                                            "BLACKLIST", "");
+  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "TCP",
+                                            "BLACKLISTV6", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP",
-                                            "BLACKLIST", "");
+                                            "BLACKLISTV4", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP", "UPNP",
                                             "NO");
-  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP6",
-                                            "BLACKLIST", "");
+  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "UDP",
+                                            "BLACKLISTV6", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "HTTP",
-                                            "BLACKLIST", "");
+                                            "BLACKLISTV4", "");
+  GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "HTTP",
+                                            "BLACKLISTV6", "");
   GNUNET_GC_set_configuration_value_string (api.cfg, api.ectx, "HTTP", "UPNP",
                                             "NO");
 

Modified: GNUnet/src/transports/udp.c
===================================================================
--- GNUnet/src/transports/udp.c 2008-10-20 04:09:04 UTC (rev 7801)
+++ GNUnet/src/transports/udp.c 2008-10-20 04:35:19 UTC (rev 7802)
@@ -32,7 +32,7 @@
 #include "gnunet_upnp_service.h"
 #include "ip.h"
 
-#define DEBUG_UDP GNUNET_NO
+#define DEBUG_UDP GNUNET_YES
 
 /**
  * The default maximum size of each outbound UDP message,





reply via email to

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