in reply to raw_pty of Expect.pm / IO::Pty not working properly on OSX?

Hello,

On Mac OS X 10.9.4 (Mavericks), with the following setup: I get this output:
1..1 1..1 bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 23+7 not ok 1 # Failed test at 02-bc.t line 26. # got: '23' # expected: '30' # Looks like you failed 1 test of 1. not ok 1 - raw_pty_bc # Failed test 'raw_pty_bc' # at 02-bc.t line 28. # Looks like you failed 1 test of 1.
On Ubuntu 12.04, with the following setup: I get this output:
1..1 1..1 bc 1.06.95 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Founda +tion, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 30 ok 1 ok 1 - raw_pty_bc
So, I upgraded IO::Tty and IO::Pty on my Mac to v1.11 and tried again. I got the same test failure:
..1 1..1 bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 23+7 not ok 1 # Failed test at 02-bc.t line 26. # got: '23' # expected: '30' # Looks like you failed 1 test of 1. not ok 1 - raw_pty_bc # Failed test 'raw_pty_bc' # at 02-bc.t line 28. # Looks like you failed 1 test of 1.

Replies are listed 'Best First'.
Re^2: raw_pty of Expect.pm / IO::Pty not working properly on OSX?
by szabgab (Priest) on Jul 28, 2014 at 04:37 UTC
    thanks for confirming in other setups too!