test: put tty in blocking mode after test
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 7 Jan 2013 02:59:08 +0000 (03:59 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 7 Jan 2013 02:59:10 +0000 (03:59 +0100)
commitfa3bfc3a66cc081b0aacacc2124a7666c73c6288
treedbd3d29a168818e806d9ffb6738675ea198f5ee1
parent4e1a2f9a89e96c36919c8cfffb7edd1936143c80
test: put tty in blocking mode after test

Tests can leave the tty in non-blocking mode. If the test runner tries
to print to stdout/stderr after that and the tty buffer is full, it'll
die with a EAGAIN OSError. Ergo, put the tty back in blocking mode
before proceeding.
tools/test.py