You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/11/24 12:48:43 UTC
[whimsy] branch master updated: Detect if svnmucc is present
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 2dd2208 Detect if svnmucc is present
2dd2208 is described below
commit 2dd220861c33fd22e6f32b73ffa274ed16e871e7
Author: Sebb <se...@apache.org>
AuthorDate: Tue Nov 24 12:48:34 2020 +0000
Detect if svnmucc is present
---
lib/spec/lib/svn_wunderbar_spec.rb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/spec/lib/svn_wunderbar_spec.rb b/lib/spec/lib/svn_wunderbar_spec.rb
index f44618a..7266fa3 100644
--- a/lib/spec/lib/svn_wunderbar_spec.rb
+++ b/lib/spec/lib/svn_wunderbar_spec.rb
@@ -5,6 +5,9 @@ require 'spec_helper'
require 'whimsy/asf'
require 'wunderbar'
+`which svnmucc`
+svnmucc_missing = $?.exitstatus == 0 ? false : "svnmucc not found"
+
describe "ASF::SVN.svn_!" do
it "svn_!('info') should return array with Name:" do
repo = File.join(ASF::SVN.svnurl('attic-xdocs'),'_template.xml')
@@ -181,7 +184,7 @@ describe "ASF::SVN.update" do
end
-describe "ASF::SVN.svnmucc_" do
+describe "ASF::SVN.svnmucc_", skip: svnmucc_missing do
it "svnmucc_(nil,nil,nil,nil,nil) should fail" do
expect { ASF::SVN.svnmucc_(nil,nil,nil,nil,nil) }.to raise_error(ArgumentError, "commands must be an array")
end
@@ -298,4 +301,4 @@ describe "ASF::SVN.svnmucc_" do
expect(ts[0]).to match(%r{^\$ svnmucc .*--message test .*--root-url #{root}})
expect(ts[1]).to eq('usage: svnmucc ACTION...') # output of svnmucc help
end
-end
\ No newline at end of file
+end