diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-22 07:19:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-22 07:19:38 +0000 |
commit | 41b705f79807d8938c20fe67490c7e63c5f16165 (patch) | |
tree | f11f29a2b0778b298bedde252fd7a918da7a5b2e /src/fs/test_gnunet_fs_psd.py.in | |
parent | ea907a5c767e7e884adf605cea358bb45246d6c3 (diff) | |
download | gnunet-41b705f79807d8938c20fe67490c7e63c5f16165.tar.gz gnunet-41b705f79807d8938c20fe67490c7e63c5f16165.zip |
-LRN: Adapt-fs-tests-to-new-gnunet-publish-verbosity
Diffstat (limited to 'src/fs/test_gnunet_fs_psd.py.in')
-rwxr-xr-x | src/fs/test_gnunet_fs_psd.py.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in index 94c62f758..0ac4d6c67 100755 --- a/src/fs/test_gnunet_fs_psd.py.in +++ b/src/fs/test_gnunet_fs_psd.py.in | |||
@@ -56,7 +56,9 @@ arm.communicate () | |||
56 | try: | 56 | try: |
57 | pub = pexpect () | 57 | pub = pexpect () |
58 | pub.spawn (None, [publish, '-c', 'test_gnunet_fs_psd_data.conf', '-n', '-m', "description:The GNU Public License", '-k', 'gpl', '../../COPYING'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | 58 | pub.spawn (None, [publish, '-c', 'test_gnunet_fs_psd_data.conf', '-n', '-m', "description:The GNU Public License", '-k', 'gpl', '../../COPYING'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) |
59 | pub.expect ("stdout", re.compile (r"Publishing `\.\./\.\./COPYING' done\.\r?\n")) | 59 | pub.expect ("stdout", re.compile (r"Scanning file `.+[\\/]..[\\/]..[\\/]COPYING'\.\r?\n")) |
60 | pub.expect ("stdout", re.compile (r"Scanner has finished.\r?\n")) | ||
61 | pub.expect ("stdout", re.compile (r"Publishing `.+[\\/]..[\\/]..[\\/]COPYING' done\.\r?\n")) | ||
60 | pub.expect ("stdout", re.compile (r"URI is `gnunet://fs/chk/PC0M19QMQC0BPSHR6BGA228PP6INER1D610MGEMOMEM87222FN8HVUO7PQGO0O9HD2GVLHF2N5IDHEQUNK6LKE428FPO96SKQEA486O\.PG7K85JGQ6N599MD5HEP3CHEVFPKQD9JB6NPSLVA3T1SKDS66CFI499VS6MGQ88B0QUAVT1282TCRD4GGFVUKDLGI8F0SPIANA3J2LG\.35147'\.\r?\n")) | 62 | pub.expect ("stdout", re.compile (r"URI is `gnunet://fs/chk/PC0M19QMQC0BPSHR6BGA228PP6INER1D610MGEMOMEM87222FN8HVUO7PQGO0O9HD2GVLHF2N5IDHEQUNK6LKE428FPO96SKQEA486O\.PG7K85JGQ6N599MD5HEP3CHEVFPKQD9JB6NPSLVA3T1SKDS66CFI499VS6MGQ88B0QUAVT1282TCRD4GGFVUKDLGI8F0SPIANA3J2LG\.35147'\.\r?\n")) |
61 | 63 | ||
62 | s = pexpect () | 64 | s = pexpect () |