Skip to content

Commit

Permalink
test: skipIfInspectorDisabled cluster-inspect-brk
Browse files Browse the repository at this point in the history
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: nodejs#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>
  • Loading branch information
danbev authored and Olivier Martin committed May 6, 2017
1 parent 3c00325 commit d038cba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/sequential/test-cluster-inspect-brk.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit d038cba

Please sign in to comment.