[Python-bugs-list] [ python-Bugs-445987 ] test_pty fails on IRIX 6.5

noreply@sourceforge.net noreply@sourceforge.net
Wed, 01 Aug 2001 15:14:05 -0700


Bugs item #445987, was opened at 2001-07-30 08:32
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445987&group_id=5470

Category: Python Library
>Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Ward (gward)
>Assigned to: Greg Ward (gward)
Summary: test_pty fails on IRIX 6.5

Initial Comment:
Built 2.2a1 on a 64-bit SGI box running IRIX 6.5. 
test_pty fails; here's the output from "make test":


test_pty
The actual stdout doesn't match the expected stdout.
This much did match (between asterisk lines):
**********************************************************************
test_pty
**********************************************************************
Then ...
We expected (repr): 'I wish to buy a fish license.\nFor
my pet fish, Eric.\n'
But instead we got: 'I wish to buy a fish
license.\r\nFor my pet fish, Eric.\n'
test test_pty failed -- Writing: 'I wish to buy a fish
license.\r\nFor my pet fish, Eric.\n', expected: 'I
wish to buy a fish license.\nFor my pet fish, Eric.\n'

and here's what I get running the test script directly:
./python Lib/test/test_pty.py
Calling master_open()
Got master_fd '3', slave_name '/dev/ttyq7'
Calling slave_open('/dev/ttyq7')
Got slave_fd '4'
Writing to slave_fd
Writing chunked output
I wish to buy a fish license.
For my pet fish, Eric.
calling pty.fork()
Waiting for child (193150) to finish.
Child (193150) exited with status 4 (1024).

$ 


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=445987&group_id=5470