SHUTDOWN
[oweals/gnunet.git] / src / peerinfo-tool / test_gnunet_peerinfo.py.in
index 01f76aa1efa53d959bdbe05973339e30f45b29bd..86ce87eda622dfa243b36973658801006ea5f281 100755 (executable)
@@ -24,7 +24,7 @@ import signal
 import re
 
 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf')
-pinfo.expect  ('Timeout trying to interact with PEERINFO service\r')
+pinfo.expect  ('Error in communication with PEERINFO service\r')
 pinfo.expect (pexpect.EOF);
 os.system ('rm -rf /tmp/gnunet-test-peerinfo/')
 os.system ('gnunet-arm -sq -c test_gnunet_peerinfo_data.conf')
@@ -47,12 +47,12 @@ try:
   os.system ('sleep 1')
   pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf')
   pinfo.expect (re.compile ("Peer `.*\'\r"));
-  pinfo.expect (re.compile (" *localhost:24357\r"));
+  pinfo.expect (re.compile (" *:24357\r"));
   pinfo.expect (pexpect.EOF);
 
   pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf -n')
   pinfo.expect (re.compile ("Peer `.*\'\r"));
-  pinfo.expect (re.compile (" *127..*:24357\r"));
+  pinfo.expect (re.compile (" *:24357\r"));
   pinfo.expect (pexpect.EOF);
 
   pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf -qs')