aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js
diff options
context:
space:
mode:
authorSantiago Gimeno <santiago.gimeno@gmail.com>2016-05-29 17:53:40 +0200
committerSantiago Gimeno <santiago.gimeno@gmail.com>2016-07-27 08:25:26 +0200
commitdee0e3a3336473973eda3a8e0e334e96f587572a (patch)
tree41332997e0022ebb5a29280dbd0bdd13a7d66ecb /test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js
parente22ffefff221caee264ab0b88691478a03ab1862 (diff)
downloadandroid-node-v8-dee0e3a3336473973eda3a8e0e334e96f587572a.tar.gz
android-node-v8-dee0e3a3336473973eda3a8e0e334e96f587572a.tar.bz2
android-node-v8-dee0e3a3336473973eda3a8e0e334e96f587572a.zip
test: use common platform helpers everywhere
Use the common.isWindows, common.isFreeBSD and common.isSunOS where possible. Add common.isOSX and common.isLinux. Fix `test-fs-read-file-sync-hostname` as in its current form was not being run anywhere. PR-URL: https://github.com/nodejs/node/pull/7845 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js')
-rw-r--r--test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js b/test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js
index ae86ef2cdf..b490a30b52 100644
--- a/test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js
+++ b/test/parallel/test-domain-throw-error-then-throw-from-uncaught-exception-handler.js
@@ -82,7 +82,7 @@ function runTestWithAbortOnUncaughtException() {
function createTestCmdLine(options) {
var testCmd = '';
- if (process.platform !== 'win32') {
+ if (!common.isWindows) {
// Do not create core files, as it can take a lot of disk space on
// continuous testing and developers' machines
testCmd += 'ulimit -c 0 && ';