projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd0bcd
)
test: add ChildProcess.prototype.killed test case
author
Ben Noordhuis
<info@bnoordhuis.nl>
Wed, 2 Nov 2011 17:37:34 +0000
(18:37 +0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Wed, 2 Nov 2011 17:37:34 +0000
(18:37 +0100)
test/simple/test-child-process-kill.js
patch
|
blob
|
history
diff --git
a/test/simple/test-child-process-kill.js
b/test/simple/test-child-process-kill.js
index 05599f48d2febfe0beaee3a4099b001fab27c8d9..1522367ef82707c03a83a568344a3db385acd081 100644
(file)
--- a/
test/simple/test-child-process-kill.js
+++ b/
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);