Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

test: add ChildProcess.prototype.killed test case

  • Loading branch information...
bnoordhuis committed Nov 2, 2011
1 parent 6bd0bcd commit c8646e0c4159aa53b2ae94d1b69850ce5fa62ca2
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/simple/test-child-process-kill.js
@@ -58,7 +58,9 @@ cat.on('exit', function(code, signal) {
termSignal = signal;
});

assert.equal(cat.killed, false);
cat.kill();
assert.equal(cat.killed, true);

process.on('exit', function() {
assert.strictEqual(exitCode, null);

0 comments on commit c8646e0

Please sign in to comment.
You can’t perform that action at this time.