1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-11 06:19:19 -04:00
ports/devel/electron26/files/patch-electron_spec_api-utility-process-spec.ts
Hiroki Tagato 329e3223c2 devel/electron26: update to 26.6.8
Changelog: https://github.com/electron/electron/releases/tag/v26.6.8

Reported by:	GitHub (watch releases)
MFH:		2024Q1
Security:	13a8c4bf-cb2b-48ec-b49c-a3875c72b3e8
2024-02-02 13:46:55 +09:00

11 lines
640 B
TypeScript

--- electron/spec/api-utility-process-spec.ts.orig 2024-01-29 19:56:59 UTC
+++ electron/spec/api-utility-process-spec.ts
@@ -376,7 +376,7 @@ describe('utilityProcess module', () => {
await closeWindow(w);
});
- ifit(process.platform === 'linux')('allows executing a setuid binary with child_process', async () => {
+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('allows executing a setuid binary with child_process', async () => {
const child = utilityProcess.fork(path.join(fixturesPath, 'suid.js'));
await once(child, 'spawn');
const [data] = await once(child, 'message');