Files
node/test/fixtures
patr0nus 2510ffc665 src: tolerate EPERM returned from tcsetattr
macOS app sandbox makes tcsetattr return EPERM. The CHECK_EQ(0, err)
here would fail when a sandboxed Node.js process is exiting. This commit
fixes this issue.

* test: add test for running in macOS app sandbox

Bare-bone command-line executables cannot run directly in the app sandbox.
To test that Node.js is able to run in the sandbox (and to test the fix in
317621b4a1), this commit creates a typical
Cocoa app bundle, puts the node executable in it and calles Apple's codesign
command to enable sandbox.

* test: use process.execPath to get path of testing node

PR-URL: https://github.com/nodejs/node/pull/33944
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-06-30 09:34:32 -07:00
..
2017-03-10 11:23:48 -08:00
2019-07-05 22:39:22 -07:00
2020-01-03 01:44:54 +01:00
2020-01-23 05:22:36 -08:00
2017-03-10 11:23:48 -08:00
2019-01-10 09:00:17 -05:00
…
…
2017-05-19 15:22:44 -04:00
2017-05-19 15:22:44 -04:00
…
2018-01-16 23:44:27 +01:00
2019-01-05 21:36:47 +01:00
2019-01-08 12:57:24 -06:00
2019-01-08 12:57:24 -06:00
2019-01-08 12:57:24 -06:00
2017-06-06 23:33:56 -07:00
…
…