Skip to content
Snippets Groups Projects
Unverified Commit 69c1b4fc authored by Mike McQuaid's avatar Mike McQuaid
Browse files

subversion_spec: fix svnadmin calls on Linux.

Ensure that we only use `xcrun` on Catalina or newer.
parent 241786ed
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,9 @@ describe UnpackStrategy::Subversion, :needs_svn do
let(:path) { working_copy }
before do
safe_system "xcrun", "svnadmin", "create", repo
svnadmin = ["svnadmin"]
svnadmin = ["xcrun", *svnadmin] if OS.mac? && MacOS.version >= :catalina
safe_system(*svnadmin, "create", repo)
safe_system "svn", "checkout", "file://#{repo}", working_copy
FileUtils.touch working_copy/"test"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment