Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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.

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (5)
    As of 2020-11-27 20:50 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?