[DRE-commits] [ruby-fog-openstack] 01/02: Created patch to fix test failure

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Aug 23 12:28:15 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-fog-openstack.

commit 52b8861dea808fc22f05db845700b665913342e9
Author: Sruthi <srud at openmailbox.org>
Date:   Thu Aug 18 19:53:11 2016 +0530

    Created patch to fix test failure
---
 debian/patches/series                  |  1 +
 debian/patches/use-installed-lib.patch | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index e731420..a7799ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove-coverall-bundler.patch
+use-installed-lib.patch
diff --git a/debian/patches/use-installed-lib.patch b/debian/patches/use-installed-lib.patch
new file mode 100644
index 0000000..3316ae1
--- /dev/null
+++ b/debian/patches/use-installed-lib.patch
@@ -0,0 +1,14 @@
+To fix auto-pkg test failures.
+
+--- a/tests/helper.rb
++++ b/tests/helper.rb
+@@ -1,7 +1,8 @@
+ #require 'coveralls'
+ #Coveralls.wear!
+ 
+-require File.expand_path('../../lib/fog/openstack', __FILE__)
++$:.unshift File.expand_path('../../lib/', __FILE__)
++require 'fog/openstack'
+ 
+ #Bundler.require(:test)
+ 

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



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