[DRE-commits] [ruby-contest] 03/04: added patch to fix autopkg tests
Jonas Genannt
jonas at brachium-system.net
Fri Oct 10 10:21:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-contest.
commit 23fbc2d77d3de28a835563c3ae91d106b4ef5002
Author: Jonas Genannt <jonas.genannt at brachium-system.net>
Date: Fri Oct 10 12:18:35 2014 +0200
added patch to fix autopkg tests
---
debian/patches/fix_tests.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/fix_tests.patch b/debian/patches/fix_tests.patch
new file mode 100644
index 0000000..76d1ed4
--- /dev/null
+++ b/debian/patches/fix_tests.patch
@@ -0,0 +1,22 @@
+Description: fix require for autopkgtests
+Author: Jonas Genannt <jonas.genannt at capi2name.de>
+Forwarded: not-need
+
+--- a/test/all_test.rb
++++ b/test/all_test.rb
+@@ -1,5 +1,4 @@
+-require File.expand_path(File.join("..", "lib", "contest"),
+- File.dirname(__FILE__))
++require 'contest'
+
+ class FooTest < Test::Unit::TestCase
+ setup do
+--- a/test/setup_and_teardown_order_test.rb
++++ b/test/setup_and_teardown_order_test.rb
+@@ -1,5 +1,4 @@
+-require File.expand_path(File.join("..", "lib", "contest"),
+- File.dirname(__FILE__))
++require 'contest'
+
+ class BaseTest < Test::Unit::TestCase
+ def setup
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a017270
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-contest.git
More information about the Pkg-ruby-extras-commits
mailing list