Revert last change -- test works on HPUX again after Martin's checkin

to 'properly configure the slave terminal'

See SF patch # 656590 for the details.
This commit is contained in:
Neal Norwitz 2003-01-01 14:53:27 +00:00
parent 6a8f7b741c
commit 4e8f5492c5

View File

@ -25,9 +25,8 @@ except OSError:
# " An optional feature could not be imported " ... ?
raise TestSkipped, "Pseudo-terminals (seemingly) not functional."
# this hangs on HPUX 11, comment out for now until we can determine cause
##if not os.isatty(slave_fd):
## raise TestFailed, "slave_fd is not a tty"
if not os.isatty(slave_fd):
raise TestFailed, "slave_fd is not a tty"
# IRIX apparently turns \n into \r\n. Allow that, but avoid allowing other
# differences (like extra whitespace, trailing garbage, etc.)