ZyX
74e81bf788
Restore the timeout
...
There may be a reason for a test to take 3 minutes long, but there is no reason
for the test to take even half a minute long *without any output*.
2015-02-21 19:55:39 +03:00
ZyX
678faed4c2
Force destroying child after everything was done
...
Normally this line should not do anything useful.
2015-02-21 19:55:39 +03:00
ZyX
b7c7d29aa0
Use “non-blocking” read and stop on TIMEOUT and EOF
2015-02-21 19:55:39 +03:00
ZyX
6a6991bcb4
Use 3 minutes for timeout
2015-02-21 19:55:38 +03:00
ZyX
7d98218b64
Do not wait, just .read()
...
.read() without arguments should read until EOF is received.
2015-02-21 19:55:38 +03:00
ZyX
0a87b558d9
Do not use child.wait(), it hangs
2015-02-21 19:55:38 +03:00
ZyX
0710f2760f
Open log as binary file for writing
...
Child output is binary.
2015-02-21 16:11:04 +03:00
ZyX
22162a9656
Replace screen-based tests with pexpect-based tests
...
Currently works for all tests, but dash ones. Not much of a problem since dash
tests were disabled for being unstable.
2015-02-21 15:59:10 +03:00
ZyX
8524ee35e7
Ignore stderr from printf and env
...
socat may close pipe before they succeed to write something which results in
env: write error: Broken pipe
(according to my experience leading printf’s always succeeds to write before
socat closes pipe).
2015-02-21 13:56:58 +03:00