]> git.pld-linux.org Git - packages/python-pexpect.git/blame - python-pexpect-tests.patch
- fix deps
[packages/python-pexpect.git] / python-pexpect-tests.patch
CommitLineData
4403ea8e
JB
1Don't include openssl EPIPE complaints in input.
2
3--- pexpect-4.6.0/tests/test_expect.py.orig 2018-04-11 21:03:57.000000000 +0200
4+++ pexpect-4.6.0/tests/test_expect.py 2018-08-01 16:18:13.739732629 +0200
5@@ -411,7 +411,7 @@
6 def test_before_across_chunks(self):
7 # https://github.com/pexpect/pexpect/issues/478
8 child = pexpect.spawn(
9- '''/bin/bash -c "openssl rand -base64 {} | head -500 | nl --number-format=rz --number-width=5 2>&1 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2),
10+ '''/bin/bash -c "openssl rand -base64 {} 2>/dev/null| head -500 | nl --number-format=rz --number-width=5 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2),
11 searchwindowsize=128
12 )
13 child.expect(['PATTERN'])
This page took 0.158979 seconds and 4 git commands to generate.