Skip to content

Commit 1a6d2e6

Browse files
committed
fixup: set with -n, check with -Hn
1 parent 5556196 commit 1a6d2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-child-process-emfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (common.isWindows) {
99
return;
1010
}
1111

12-
const ulimit = Number(child_process.execSync('ulimit -n'));
12+
const ulimit = Number(child_process.execSync('ulimit -Hn'));
1313
if (ulimit > 64 || Number.isNaN(ulimit)) {
1414
// Sorry about this nonsense. It can be replaced if
1515
// https://github.com/nodejs/node-v0.x-archive/pull/2143#issuecomment-2847886

0 commit comments

Comments
 (0)