From 238337386d52f890256640772c13aee806e123c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Arboleda?= Date: Sun, 29 Mar 2020 15:01:17 -0500 Subject: [PATCH] test: check that --expose-internals is disallowed in NODE_OPTIONS Add test cases that confirm that `--expose-internals` and `--expose_internals` are disallowed in the NODE_OPTIONS environment variable. --- test/parallel/test-cli-node-options-disallowed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-cli-node-options-disallowed.js b/test/parallel/test-cli-node-options-disallowed.js index 70341fd97b93ce..2e66b1b0d7af5d 100644 --- a/test/parallel/test-cli-node-options-disallowed.js +++ b/test/parallel/test-cli-node-options-disallowed.js @@ -25,6 +25,8 @@ disallow('-c'); disallow('--interactive'); disallow('-i'); disallow('--v8-options'); +disallow('--expose_internals'); +disallow('--expose-internals'); disallow('--'); function disallow(opt) {