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 <webadmin@geoffreybooth.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Michaël Zasso committed 2021-11-08 08:43:06 +01:00
1 parent 8c28aaa42f
commit d0a41c99c0
1 file changed
+2
+2
View File
@@ -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');