Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
test: expect sanity from Linux
Browse files Browse the repository at this point in the history
Do not expect Linux to return 1 as error code and no signal indication
when child is killed by SIGSEGV.
  • Loading branch information
mmalecki authored and othiym23 committed Feb 27, 2015
1 parent 145af65 commit 37038d7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/tap/lifecycle-signal.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ test("lifecycle signal abort", function (t) {
cwd: pkg
})
child.on("close", function (code, signal) {
// GNU shell returns a code, no signal
if (process.platform === "linux") {
t.equal(code, 1)
t.equal(signal, null)
return t.end()
}

t.equal(code, null)
t.equal(signal, "SIGSEGV")
t.end()
Expand Down

0 comments on commit 37038d7

Please sign in to comment.