fix
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 16 Dec 2011 16:12:20 +0000 (16:12 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 16 Dec 2011 16:12:20 +0000 (16:12 +0000)
src/integration-tests/confs/c_nat_client.conf
src/integration-tests/gnunet_testing.py.in
src/integration-tests/test_integration_clique_nat.py.in

index d23c4d57b5439e68564297e58dadd3ed3f3e6f92..27e041ca756da2c288574b960ac3c0d10c733142 100644 (file)
@@ -274,7 +274,7 @@ HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data
 CONFIG = $DEFAULTCONFIG
 BINARY = gnunet-daemon-hostlist
 OPTIONS = -b
-SERVERS = http://v9.gnunet.org:58080/
+SERVERS = http://localhost:8080/
 HTTP-PROXY = 
 
 [core]
index 81dff3f06584cc4a0f4697dc64514d4990e146e4..d53aa1592a7e6adf6e34c9a3b709d7b1a5bd7bc1 100644 (file)
@@ -217,7 +217,7 @@ class Peer:
         #server.expect ("stdout", re.compile (r""))
         test = server.read("stdout", 10240)
         if (test.find(str(value)) == -1): 
-            return value
+            return -1
         else:
             return value  
 
index 6e6d4e5055c151cab3596781ca9818b9913876c3..c8e9afefaf3cace7e3d39621fcc8c5a115fa2aff 100755 (executable)
@@ -41,7 +41,7 @@ from gnunet_testing import *
 
 #definitions
 testname = "test_integration_clique_nat"
-verbose = False
+verbose = True
 check_timeout = 120
 
 
@@ -110,6 +110,7 @@ def check_disconnect_server ():
 
 
 def success_connect_cont (check):  
+    check.eval(False)
     check_disconnect_server ()