From 63b44fc42927068ffc133ad237a6775c94ce5ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 26 Oct 2021 13:03:16 +0200 Subject: [PATCH] test: skip macos sandbox test with builtin modules path Refs: https://github.com/nodejs/node/issues/40605 PR-URL: https://github.com/nodejs/node/pull/40607 Reviewed-By: Geoffrey Booth Reviewed-By: Anna Henningsen --- test/parallel/test-macos-app-sandbox.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-macos-app-sandbox.js b/test/parallel/test-macos-app-sandbox.js index b6743e8ba50da4..7de50d4b4a2507 100644 --- a/test/parallel/test-macos-app-sandbox.js +++ b/test/parallel/test-macos-app-sandbox.js @@ -2,6 +2,8 @@ const common = require('../common'); if (process.platform !== 'darwin') common.skip('App Sandbox is only available on Darwin'); +if (process.config.variables.node_builtin_modules_path) + common.skip('App Sandbox cannot load modules from outside the sandbox'); const fixtures = require('../common/fixtures'); const tmpdir = require('../common/tmpdir');