Commit 4d6529c78769b028dbd0726144e4fb67232d1796
Specify "SIGKILL" to pass Travis tests
Christian Bundy committed on 12/5/2018, 8:12:37 PMParent: 98073738664294ded7f111ec6d6a62529686182e
Files changed
test/bin.js | changed |
test/bin.js | ||
---|---|---|
@@ -13,14 +13,14 @@ | ||
13 | 13 | var children = [] |
14 | 14 | |
15 | 15 | process.on('exit', function () { |
16 | 16 | children.forEach(function (e) { |
17 | - e.kill(9) | |
17 | + e.kill('SIGKILL') | |
18 | 18 | }) |
19 | 19 | }) |
20 | 20 | process.on('SIGINT', function () { |
21 | 21 | children.forEach(function (e) { |
22 | - e.kill(9) | |
22 | + e.kill('SIGKILL') | |
23 | 23 | }) |
24 | 24 | process.exit(1) |
25 | 25 | }) |
26 | 26 | |
@@ -52,9 +52,9 @@ | ||
52 | 52 | |
53 | 53 | children.push(sh) |
54 | 54 | |
55 | 55 | return function end () { |
56 | - while(children.length) children.shift().kill(9) | |
56 | + while(children.length) children.shift().kill('SIGKILL') | |
57 | 57 | } |
58 | 58 | } |
59 | 59 | |
60 | 60 | function try_often(times, opts, work, done) { |
Built with git-ssb-web