Skip to content

Instantly share code, notes, and snippets.

@nanis
Created June 22, 2016 01:40
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 nanis/997ff5a28f120d3b92a9c7f076286e87 to your computer and use it in GitHub Desktop.
Save nanis/997ff5a28f120d3b92a9c7f076286e87 to your computer and use it in GitHub Desktop.
t\spec\S32-io\pipe.t failures
t\spec\S32-io\pipe.t ..
1..14
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something trueish on success
ok 4 - Proc::Status.exitcode is zero for a successful run
ok 5 - Proc::Status.status is zero for a successful run
ok 6 - got correct output
1..6
ok 1 - Child succeeds but does not print anything
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something trueish on success
ok 4 - Proc::Status.exitcode is zero for a successful run
ok 5 - Proc::Status.status is zero for a successful run
ok 6 - got correct output
1..6
ok 2 - Child succeeds but does not print anything
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something trueish on success
ok 4 - Proc::Status.exitcode is zero for a successful run
ok 5 - Proc::Status.status is zero for a successful run
ok 6 - got correct output
1..6
ok 3 - Child succeeds and prints something
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something trueish on success
ok 4 - Proc::Status.exitcode is zero for a successful run
ok 5 - Proc::Status.status is zero for a successful run
ok 6 - got correct output
1..6
ok 4 - Child succeeds and prints something
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something falsish on failure
ok 4 - Proc::Status.exitcode is 1
ok 5 - got correct output
1..5
ok 5 - Child fails and prints nothing
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something falsish on failure
ok 4 - Proc::Status.exitcode is 1
ok 5 - got correct output
1..5
ok 6 - Child fails and prints nothing
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something falsish on failure
ok 4 - Proc::Status.exitcode is 42
ok 5 - got correct output
1..5
ok 7 - Child fails and prints nothing
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something falsish on failure
ok 4 - Proc::Status.exitcode is 42
ok 5 - got correct output
1..5
ok 8 - Child fails and prints nothing
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something falsish on failure
ok 4 - Proc::Status.exitcode is 7
ok 5 - got correct output
1..5
ok 9 - Child fails and prints something
ok 1 - shell/run(:out).out is a Proc
ok 2 - shell/run(:out).out is an IO::Pipe
ok 3 - shell/run(:out) returns something falsish on failure
ok 4 - Proc::Status.exitcode is 7
ok 5 - got correct output
1..5
ok 10 - Child fails and prints something
The spawned process exited unsuccessfully (exit code: 259)
in block <unit> at t\spec\S32-io\pipe.t line 38
# Looks like you planned 14 tests, but ran 10
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/14 subtests
Test Summary Report
-------------------
t\spec\S32-io\pipe.t (Wstat: 65280 Tests: 10 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 14 tests but ran 10.
Files=1, Tests=10, 6 wallclock secs ( 0.09 usr + 0.00 sys = 0.09 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment