Skip to content

Commit e7ed066

Browse files
committed
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: nodejs#33944 PR-URL: nodejs#34331 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 3caa2e2 commit e7ed066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-macos-app-sandbox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ assert.strictEqual(
4242
child_process.spawnSync('/usr/bin/codesign', [
4343
'--entitlements', fixtures.path(
4444
'macos-app-sandbox', 'node_sandboxed.entitlements'),
45-
'-s', '-',
45+
'--force', '-s', '-',
4646
appBundlePath
4747
]).status,
4848
0);

0 commit comments

Comments
 (0)