[DRE-commits] [ruby-augeas] 01/09: add do_not_modify_loadpath_in_tests.patch to use the correct extension in tests (Closes: #725532)
Cédric Boutillier
boutil at alioth.debian.org
Mon Oct 28 23:14:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-augeas.
commit 732408438f2ad8695786f2504b40a9c47dae58ca
Author: Cédric Boutillier <boutil at debian.org>
Date: Mon Oct 28 17:38:42 2013 +0100
add do_not_modify_loadpath_in_tests.patch to use the correct extension in tests (Closes: #725532)
---
debian/patches/do_not_modify_loadpath_in_tests.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/do_not_modify_loadpath_in_tests.patch b/debian/patches/do_not_modify_loadpath_in_tests.patch
new file mode 100644
index 0000000..4317270
--- /dev/null
+++ b/debian/patches/do_not_modify_loadpath_in_tests.patch
@@ -0,0 +1,18 @@
+Description: do not override Ruby $LOAD_PATH in tests
+ doing this will load the extension built for the wrong Ruby version
+Author: Cédric Boutillier <boutil at debian.org>
+Bug-Debian: http://bugs.debian.org/725532
+Last-Update: 2013-10-28
+
+--- a/tests/tc_augeas.rb
++++ b/tests/tc_augeas.rb
+@@ -2,9 +2,6 @@
+
+ TOPDIR = File::expand_path(File::join(File::dirname(__FILE__), ".."))
+
+-$:.unshift(File::join(TOPDIR, "lib"))
+-$:.unshift(File::join(TOPDIR, "ext", "augeas"))
+-
+ require 'augeas'
+ require 'fileutils'
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0d31e73
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+do_not_modify_loadpath_in_tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-augeas.git
More information about the Pkg-ruby-extras-commits
mailing list