diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-05 20:05:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-05 20:05:03 +0000 |
commit | 92b6d451c06afc03d409f8181ad4cbc0a16dda1c (patch) | |
tree | abdf86152e3eb422e01dde0c59e3e25eea3177b0 /src | |
parent | de8bc3686ee39f44ebb702e114921c2537941862 (diff) | |
download | gnunet-92b6d451c06afc03d409f8181ad4cbc0a16dda1c.tar.gz gnunet-92b6d451c06afc03d409f8181ad4cbc0a16dda1c.zip |
-now featuring short peer identities, yepee
Diffstat (limited to 'src')
-rwxr-xr-x | src/peerinfo-tool/test_gnunet_peerinfo.py.in | 4 |
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 4a99b89ec..f007bf8f0 100755 --- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in +++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in | |||
@@ -64,7 +64,7 @@ try: | |||
64 | pinfo.expect ("stdout", re.compile (r'I am peer `.*\'.\r?\n')) | 64 | pinfo.expect ("stdout", re.compile (r'I am peer `.*\'.\r?\n')) |
65 | 65 | ||
66 | pinfo.spawn (None, [peerinfo, '-c', 'test_gnunet_peerinfo_data.conf', '-qs'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | 66 | pinfo.spawn (None, [peerinfo, '-c', 'test_gnunet_peerinfo_data.conf', '-qs'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) |
67 | pinfo.expect ("stdout", re.compile (r'.......................................................................................................\r?\n')) | 67 | pinfo.expect ("stdout", re.compile (r'....................................................\r?\n')) |
68 | 68 | ||
69 | pinfo.spawn (None, [peerinfo, '-c', 'test_gnunet_peerinfo_data.conf', 'invalid'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | 69 | pinfo.spawn (None, [peerinfo, '-c', 'test_gnunet_peerinfo_data.conf', 'invalid'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) |
70 | pinfo.expect ("stdout", re.compile (r'Invalid command line argument `invalid\'\r?\n')) | 70 | pinfo.expect ("stdout", re.compile (r'Invalid command line argument `invalid\'\r?\n')) |
@@ -88,7 +88,7 @@ try: | |||
88 | pinfo.spawn (None, [peerinfo, '-c', 'test_gnunet_peerinfo_data.conf', '-qs'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | 88 | pinfo.spawn (None, [peerinfo, '-c', 'test_gnunet_peerinfo_data.conf', '-qs'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) |
89 | pid = pinfo.read ("stdout") | 89 | pid = pinfo.read ("stdout") |
90 | pid.strip () | 90 | pid.strip () |
91 | 91 | ||
92 | finally: | 92 | finally: |
93 | arm = subprocess.Popen ([gnunetarm, '-eq', '-c', 'test_gnunet_peerinfo_data.conf']) | 93 | arm = subprocess.Popen ([gnunetarm, '-eq', '-c', 'test_gnunet_peerinfo_data.conf']) |
94 | arm.communicate () | 94 | arm.communicate () |