Skip to content

Commit c083c12

Browse files
committed
Force the untar of the sample git repo to be the current user
1 parent 232c7e2 commit c083c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SourceControlTests/GitRepositoryTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class GitRepositoryTests: XCTestCase {
135135
#if os(Windows)
136136
try systemQuietly(["tar.exe", "-x", "-v", "-C", path.pathString, "-f", inputArchivePath.pathString])
137137
#else
138-
try systemQuietly(["tar", "-x", "-v", "-C", path.pathString, "-f", inputArchivePath.pathString])
138+
try systemQuietly(["tar", "--no-same-owner", "-x", "-v", "-C", path.pathString, "-f", inputArchivePath.pathString])
139139
#endif
140140
let testRepoPath = path.appending("TestRepo")
141141

0 commit comments

Comments
 (0)