mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: force resigning of app
In the GitHub Actions CI, test-macos-app-sandbox.js can fail due to the application already being signed. This commit updates the test to handle that condition. Refs: https://github.com/nodejs/node/pull/33944 PR-URL: https://github.com/nodejs/node/pull/34331 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
@@ -42,7 +42,7 @@ assert.strictEqual(
|
||||
child_process.spawnSync('/usr/bin/codesign', [
|
||||
'--entitlements', fixtures.path(
|
||||
'macos-app-sandbox', 'node_sandboxed.entitlements'),
|
||||
'-s', '-',
|
||||
'--force', '-s', '-',
|
||||
appBundlePath
|
||||
]).status,
|
||||
0);
|
||||
|
||||
Reference in New Issue
Block a user