From 2cb241100f947edadfadab3a5b8222b3c89747d9 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sun, 30 Apr 2017 08:18:23 +0200 Subject: [PATCH] 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. --- test/sequential/test-cluster-inspect-brk.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sequential/test-cluster-inspect-brk.js b/test/sequential/test-cluster-inspect-brk.js index 0fb0b9eaab5b68..95c9b3c51177e1 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.