From: Nathan S. Evans Date: Thu, 9 Dec 2010 10:53:52 +0000 (+0000) Subject: some machines report their hostnameinstead of localhost X-Git-Tag: initial-import-from-subversion-38251~19537 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b28602046dacf487796be15539e2e26ffad104ef;p=oweals%2Fgnunet.git some machines report their hostnameinstead of localhost --- 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: 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')