Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaciej MaƂecki <me@mmalecki.com>2014-05-30 04:15:45 +0400
committerForrest L Norvell <forrest@npmjs.com>2015-02-27 04:30:14 +0300
commit37038d7db47a986001f77ac17b3e164000fc8ff3 (patch)
tree9b5689fce68f5186ec4a116aae321eaf1fb188f6 /test
parent145af6587f45de135cc876be2027ed818ed4ca6a (diff)
test: expect sanity from Linux
Do not expect Linux to return 1 as error code and no signal indication when child is killed by SIGSEGV.
Diffstat (limited to 'test')
-rw-r--r--test/tap/lifecycle-signal.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/tap/lifecycle-signal.js b/test/tap/lifecycle-signal.js
index 9d88fbd79..ee56e9afc 100644
--- a/test/tap/lifecycle-signal.js
+++ b/test/tap/lifecycle-signal.js
@@ -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()