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:
b6c66f7
)
Fix pummel/text-exec
author
Ryan Dahl
<ry@tinyclouds.org>
Fri, 28 Jan 2011 04:07:28 +0000
(20:07 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Fri, 28 Jan 2011 04:07:53 +0000
(20:07 -0800)
test/pummel/test-exec.js
patch
|
blob
|
history
diff --git
a/test/pummel/test-exec.js
b/test/pummel/test-exec.js
index
781c8ff
..
4dee560
100644
(file)
--- a/
test/pummel/test-exec.js
+++ b/
test/pummel/test-exec.js
@@
-81,8
+81,7
@@
function killMeTwiceCallback(err, stdout, stderr) {
exec('python -c "print 200000*\'C\'"', {maxBuffer: 1000},
function(err, stdout, stderr) {
assert.ok(err);
- assert.ok(err.killed);
- assert.equal(err.signal, 'SIGTERM');
+ assert.ok(/maxBuffer/.test(err.message));
});
process.addListener('exit', function() {