Skip to content

Instantly share code, notes, and snippets.

@leto
Created February 22, 2011 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/839221 to your computer and use it in GitHub Desktop.
Save leto/839221 to your computer and use it in GitHub Desktop.
(datura)(~/git/parrot whiteknight/imcc_compreg_pmc$ )$ POSTMORTEM=1 prove -v t/pmc/io_stdin.t
t/pmc/io_stdin.t ..
1..3
not ok 1 - simple stdin use
# Failed test 'simple stdin use'
# at lib/Parrot/Test.pm line 605.
# got: 'Segmentation fault (core dumped)
# '
# expected: 'got len 1: "f"
# got len 2: "oo"
# got len 1: "
# "
# got len 0: ""
# '
not ok 2 - readline from stdin
# Failed test 'readline from stdin'
# at lib/Parrot/Test.pm line 605.
# got: 'Segmentation fault (core dumped)
# '
# expected: 'got len 4: "one
# "
# got len 4: "two
# "
# got len 6: "three
# "
# got len 0: ""
# '
not ok 3 - readall from stdin
# Failed test 'readall from stdin'
# at lib/Parrot/Test.pm line 605.
# got: 'Segmentation fault (core dumped)
# '
# expected: 'got len 14: "one
# two
# three
# "
# got len 0: ""
# '
# Looks like you failed 3 tests of 3.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests
Test Summary Report
-------------------
t/pmc/io_stdin.t (Wstat: 768 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.05 cusr 0.16 csys = 0.24 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment