macOS allows file owners to write to their own read-only (0444) files, so TestSetupGlobalGitIgnore_ReadOnly cannot exercise the "Unable to write" code path on this platform. Skip both test cases on darwin with an explanatory message.
macOS allows file owners to write to their own read-only (0444) files, so TestSetupGlobalGitIgnore_ReadOnly cannot exercise the "Unable to write" code path on this platform. Skip both test cases on darwin with an explanatory message.