We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cb770e commit d939f7fCopy full SHA for d939f7f
1 file changed
test/parallel/test-macos-app-sandbox.js
@@ -38,14 +38,19 @@ fs.copyFileSync(
38
39
40
// Sign the app bundle with sandbox entitlements:
41
-assert.strictEqual(
42
- child_process.spawnSync('/usr/bin/codesign', [
+const codesignResult = child_process.spawnSync(
+ '/usr/bin/codesign',
43
+ [
44
'--entitlements', fixtures.path(
45
'macos-app-sandbox', 'node_sandboxed.entitlements'),
46
'-s', '-',
47
appBundlePath
- ]).status,
48
- 0);
+ ])
49
+
50
+console.error(codesignResult)
51
+console.error(codesignResult.stdout?.toString())
52
+console.error(codesignResult.stderr?.toString())
53
+assert.strictEqual(codesignResult.status, 0);
54
55
// Sandboxed app shouldn't be able to read the home dir
56
assert.notStrictEqual(
0 commit comments