1 Don't include openssl EPIPE complaints in input.
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
6 def test_before_across_chunks(self):
7 # https://github.com/pexpect/pexpect/issues/478
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),
13 child.expect(['PATTERN'])