Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert "test: log codesign result (ci debug)"
This reverts commit d939f7f.
  • Loading branch information
branchseer committed Jun 19, 2020
commit 59e434d20b13d4294c71304c8a07d8704543bd46
13 changes: 4 additions & 9 deletions test/parallel/test-macos-app-sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,14 @@ fs.copyFileSync(


// Sign the app bundle with sandbox entitlements:
const codesignResult = child_process.spawnSync(
'/usr/bin/codesign',
[
assert.strictEqual(
child_process.spawnSync('/usr/bin/codesign', [
'--entitlements', fixtures.path(
'macos-app-sandbox', 'node_sandboxed.entitlements'),
'-s', '-',
appBundlePath
])

console.error(codesignResult)
console.error(codesignResult.stdout?.toString())
console.error(codesignResult.stderr?.toString())
assert.strictEqual(codesignResult.status, 0);
]).status,
0);

// Sandboxed app shouldn't be able to read the home dir
assert.notStrictEqual(
Expand Down