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_idx.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_idx.py.in')
-rwxr-xr-x | src/fs/test_gnunet_fs_idx.py.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/test_gnunet_fs_idx.py.in b/src/fs/test_gnunet_fs_idx.py.in index fff0e10b7..3b05516c6 100755 --- a/src/fs/test_gnunet_fs_idx.py.in +++ b/src/fs/test_gnunet_fs_idx.py.in | |||
@@ -53,7 +53,9 @@ arm.communicate () | |||
53 | try: | 53 | try: |
54 | pub = pexpect () | 54 | pub = pexpect () |
55 | pub.spawn (None, [publish, '-c', 'test_gnunet_fs_idx_data.conf', '-m', "description:The GNU Public License", '-k', 'gpl', '../../COPYING'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | 55 | pub.spawn (None, [publish, '-c', 'test_gnunet_fs_idx_data.conf', '-m', "description:The GNU Public License", '-k', 'gpl', '../../COPYING'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) |
56 | pub.expect ("stdout", re.compile (r"Publishing `\.\./\.\./COPYING' done\.\r?\n")) | 56 | pub.expect ("stdout", re.compile (r"Scanning file `.+[\\/]\.\.[\\/]\.\.[\\/]COPYING'\.\r?\n")) |
57 | pub.expect ("stdout", re.compile (r"Scanner has finished\.\r?\n")) | ||
58 | pub.expect ("stdout", re.compile (r"Publishing `.+[\\/]\.\.[\\/]\.\.[\\/]COPYING' done\.\r?\n")) | ||
57 | pub.expect ("stdout", re.compile (r"URI is `gnunet://fs/chk/PC0M19QMQC0BPSHR6BGA228PP6INER1D610MGEMOMEM87222FN8HVUO7PQGO0O9HD2GVLHF2N5IDHEQUNK6LKE428FPO96SKQEA486O\.PG7K85JGQ6N599MD5HEP3CHEVFPKQD9JB6NPSLVA3T1SKDS66CFI499VS6MGQ88B0QUAVT1282TCRD4GGFVUKDLGI8F0SPIANA3J2LG\.35147'\.\r?\n")) | 59 | pub.expect ("stdout", re.compile (r"URI is `gnunet://fs/chk/PC0M19QMQC0BPSHR6BGA228PP6INER1D610MGEMOMEM87222FN8HVUO7PQGO0O9HD2GVLHF2N5IDHEQUNK6LKE428FPO96SKQEA486O\.PG7K85JGQ6N599MD5HEP3CHEVFPKQD9JB6NPSLVA3T1SKDS66CFI499VS6MGQ88B0QUAVT1282TCRD4GGFVUKDLGI8F0SPIANA3J2LG\.35147'\.\r?\n")) |
58 | 60 | ||
59 | down = pexpect () | 61 | down = pexpect () |