0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00
termux-packages/packages/nodejs-lts/test-parallel-test-child-process-uid-gid.js.patch
Yaksh Bariya b1d07d7e11
bump(main/nodejs-lts): v18.16.0
Also update my email address to termux.dev one
2023-05-13 19:21:47 +05:30

14 lines
529 B
Diff

--- ./test/parallel/test-child-process-uid-gid.js.orig 2023-04-29 17:23:04.494870309 +0530
+++ ./test/parallel/test-child-process-uid-gid.js 2023-04-29 17:42:33.075531699 +0530
@@ -4,6 +4,10 @@
const spawn = require('child_process').spawn;
const expectedError = common.isWindows ? /\bENOTSUP\b/ : /\bEPERM\b/;
+if (process.platform === 'android') {
+ common.skip('We are patching node to not use setuid/setgid with child_process.spawn in anyway');
+}
+
if (common.isIBMi)
common.skip('IBMi has a different behavior');