diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-04-30 08:18:23 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-05-02 07:50:16 +0200 |
commit | 10ccf56f89963a7abee81d9331a392101fdbf7f4 (patch) | |
tree | 9017fd3561d8289565e9265d4dff16288b6cbaf1 | |
parent | 595d4ec114f9630f925e83aa31ea1f23f2b7c1c4 (diff) | |
download | node-new-10ccf56f89963a7abee81d9331a392101fdbf7f4.tar.gz |
test: skipIfInspectorDisabled cluster-inspect-brk
When configured --without-ssl the inspect-brk option will not be
available and the process will exit with a exit value of 9 "Invalid
Argument/Bad option".
This commit adds a skipIfInspectorDisabled check since --without-ssl
implies that no inspector support is build as well.
PR-URL: https://github.com/nodejs/node/pull/12757
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | test/sequential/test-cluster-inspect-brk.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sequential/test-cluster-inspect-brk.js b/test/sequential/test-cluster-inspect-brk.js index 0fb0b9eaab..95c9b3c511 100644 --- a/test/sequential/test-cluster-inspect-brk.js +++ b/test/sequential/test-cluster-inspect-brk.js @@ -1,5 +1,6 @@ 'use strict'; const common = require('../common'); +common.skipIfInspectorDisabled(); // A test to ensure that cluster properly interoperates with the // --inspect-brk option. |