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.

In reply to Re: raw_pty of Expect.pm / IO::Pty not working properly on OSX? by kevbot
in thread raw_pty of Expect.pm / IO::Pty not working properly on OSX? by szabgab

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.