Skip to content

Commit

Permalink
skip sigterm child test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Sep 12, 2016
1 parent b5a18bf commit d49c840
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ function runTests (file) {
}
}

if (file.match(/\bsigterm\b/) && process.version.match(/^v0\.10\./)) {
skip = 'sigterm handling test does not work on 0.10'
if (file.match(/\bsigterm\b/)) {
if (process.version.match(/^v0\.10\./)) {
skip = 'sigterm handling test does not work on 0.10'
} else if (process.platform === 'win32') {
skip = 'sigterm handling is weird on windows'
}
}

var f = file.substr(dir.length)
Expand Down

0 comments on commit d49c840

Please sign in to comment.