aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-12-09 10:53:52 +0000
committerNathan S. Evans <evans@in.tum.de>2010-12-09 10:53:52 +0000
commitb28602046dacf487796be15539e2e26ffad104ef (patch)
treef741659db6057c155b4e0d6e349cdb5bdc684ec3
parentf5869c466fc7a1b321461e616d918484fe4f1f3b (diff)
downloadgnunet-b28602046dacf487796be15539e2e26ffad104ef.tar.gz
gnunet-b28602046dacf487796be15539e2e26ffad104ef.zip
some machines report their hostnameinstead of localhost
-rwxr-xr-xsrc/peerinfo-tool/test_gnunet_peerinfo.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py.in b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
index 0398b3933..86ce87eda 100755
--- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in
+++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
@@ -47,12 +47,12 @@ try:
47 os.system ('sleep 1') 47 os.system ('sleep 1')
48 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf') 48 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf')
49 pinfo.expect (re.compile ("Peer `.*\'\r")); 49 pinfo.expect (re.compile ("Peer `.*\'\r"));
50 pinfo.expect (re.compile (" *localhost:24357\r")); 50 pinfo.expect (re.compile (" *:24357\r"));
51 pinfo.expect (pexpect.EOF); 51 pinfo.expect (pexpect.EOF);
52 52
53 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf -n') 53 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf -n')
54 pinfo.expect (re.compile ("Peer `.*\'\r")); 54 pinfo.expect (re.compile ("Peer `.*\'\r"));
55 pinfo.expect (re.compile (" *127..*:24357\r")); 55 pinfo.expect (re.compile (" *:24357\r"));
56 pinfo.expect (pexpect.EOF); 56 pinfo.expect (pexpect.EOF);
57 57
58 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf -qs') 58 pinfo = pexpect.spawn ('gnunet-peerinfo -c test_gnunet_peerinfo_data.conf -qs')