0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/nodejs/test-parallel-test-child-process-uid-gid.js.patch
2023-05-09 19:43:09 +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');