test: skip test that cannot pass under --node-builtin-modules-path

PR-URL: https://github.com/nodejs/node/pull/42834
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
Geoffrey Booth authored and Michaël Zasso committed 2022-04-28 06:57:24 +02:00
1 parent c3c5fe78dc
commit 7b701442de
1 file changed
+4
@@ -10,6 +10,10 @@ if (common.isWindows) {
common.skip('ulimit does not work on Windows.');
}
if (process.config.variables.node_builtin_modules_path) {
common.skip('this test cannot pass when Node.js is built with --node-builtin-modules-path');
}
// A reasonably low fd count. An empty node process
// creates around 30 fds for its internal purposes,
// so making it too low will crash the process early,