[DRE-commits] [ruby-launchy] 09/13: Patch to fix test for Darwin OS

Gioele Barabucci gioele-guest at alioth.debian.org
Sat Oct 5 13:43:22 UTC 2013


This is an automated email from the git hooks/post-receive script.

gioele-guest pushed a commit to branch master
in repository ruby-launchy.

commit 946003be2f30fdb505bd5bc78f8a04e286bbcf73
Author: Gioele Barabucci <gioele at svario.it>
Date:   Sat Oct 5 12:12:43 2013 +0000

    Patch to fix test for Darwin OS
---
 debian/patches/0004-Fix-test-for-Darwin-OS.patch |   21 +++++++++++++++++++++
 debian/patches/series                            |    1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0004-Fix-test-for-Darwin-OS.patch b/debian/patches/0004-Fix-test-for-Darwin-OS.patch
new file mode 100644
index 0000000..7289a52
--- /dev/null
+++ b/debian/patches/0004-Fix-test-for-Darwin-OS.patch
@@ -0,0 +1,21 @@
+From: Gioele Barabucci <gioele at svario.it>
+Date: Sat, 5 Oct 2013 12:12:11 +0000
+Subject: Fix test for Darwin OS
+
+---
+ spec/applications/browser_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/applications/browser_spec.rb b/spec/applications/browser_spec.rb
+index 8cfa8e7..20e427c 100644
+--- a/spec/applications/browser_spec.rb
++++ b/spec/applications/browser_spec.rb
+@@ -13,7 +13,7 @@ describe Launchy::Application::Browser do
+   end
+ 
+   { 'windows' => 'start /b' ,
+-    'darwin'  => '/usr/bin/open',
++    'darwin'  => '/bin/open',
+     'cygwin'  => 'cmd /C start /b',
+ 
+     # when running these tests on a linux box, this test will fail
diff --git a/debian/patches/series b/debian/patches/series
index 5120236..22352ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Comment-out-RDoc-generation-task.patch
 0002-Comment-out-coverage-tasks.patch
 0003-Disable-coverage-during-tests.patch
+0004-Fix-test-for-Darwin-OS.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-launchy.git



More information about the Pkg-ruby-extras-commits mailing list