-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dropping support for node v6.x as it is not working correctly with the installed SIGINT handlers add appveyor build for node 11
- Loading branch information
1 parent
0c5bc5c
commit bd853cb
Showing
15 changed files
with
219 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ module.exports = { | |
"semi": [ | ||
"error", | ||
"always" | ||
] | ||
], | ||
"no-extra-boolean-cast": 0 | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ node_js: | |
- "10" | ||
- "9" | ||
- "8" | ||
- "6" | ||
sudo: false | ||
cache: | ||
directories: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* eslint-disable no-octal */ | ||
// vim: expandtab:ts=2:sw=2 | ||
|
||
var | ||
assert = require('assert'), | ||
assertions = require('./assertions'), | ||
childProcess = require('./child-process').childProcess; | ||
|
||
describe('tmp', function () { | ||
describe('issue129: safely install sigint listeners', function () { | ||
it('when simulating sandboxed behavior', function (done) { | ||
childProcess(this, 'issue129-sigint.json', function (err, stderr, stdout) { | ||
if (err) return done(err); | ||
if (!stdout && !stderr) return done(new Error('stderr or stdout expected')); | ||
if (stderr) { | ||
try { | ||
assertions.assertDoesNotStartWith(stderr, 'EEXISTS:MULTIPLE'); | ||
assertions.assertDoesNotStartWith(stderr, 'ENOAVAIL:EXISTING'); | ||
} catch (err) { | ||
return done(err); | ||
} | ||
} | ||
if (stdout) { | ||
try { | ||
assert.equal(stdout, 'EOK', 'existing listeners should have been removed and called'); | ||
} catch (err) { | ||
return done(err); | ||
} | ||
} | ||
done(); | ||
}); | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.