Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: raw_pty of Expect.pm / IO::Pty not working properly on OSX?

by kevbot (Priest)
on Jul 27, 2014 at 20:19 UTC ( #1095265=note: print w/replies, xml ) Need Help??


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:
  • perlbrew perl 5.18.1, (compiled with -Dusethreads)
  • Expect v1.21
  • IO::Tty, v1.10
  • IO::Pty, v1.10
  • bc, v1.06
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:
  • perlbrew perl 5.16.2, (compiled with -Dusethreads)
  • Expect v1.21
  • IO::Tty, v1.11
  • IO::Pty, v1.11
  • bc, v1.06.95
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095265]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2020-07-02 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?