Skip to content

Commit 7f90d14

Browse files
committed
(maint) Loosen up git security checks for test repos
Newer OSes and their versions of git are stricter than we have been in the past. The security of these repos are part of what we're testing, so just open them up.
1 parent aeec8a3 commit 7f90d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acceptance/suites/tests/code_commands/code_scripts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class { 'git': }
109109

110110
step 'SETUP: Initialize the local git repository' do
111111
on master, "chown git #{git_local_repo}"
112-
on master, "git config --global --add safe.directory #{git_local_repo}"
112+
on master, "git config --system --add safe.directory '*'"
113113
on master, "cd #{git_local_repo} && git config --global user.name 'TestUser'"
114114
on master, "cd #{git_local_repo} && git config --global user.email '[email protected]'"
115115
on master, "cd #{git_local_repo} && git init"

0 commit comments

Comments
 (0)