Skip to content

Commit

Permalink
test: force resigning of app
Browse files Browse the repository at this point in the history
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: #33944
PR-URL: #34331
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
cjihrig authored and addaleax committed Sep 22, 2020
1 parent c91e31d commit 26c5f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-macos-app-sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 26c5f9f

Please sign in to comment.