[DRE-commits] [SCM] ruby-net-ldap.git branch, master, updated. debian/0.0.4-1-25-gd4ec975
Jérémy Lal
kapouer at melix.org
Mon May 14 15:09:19 UTC 2012
The following commit has been merged in the master branch:
commit 1dd45cd5e08cda8d795381fd7c36da19d263ef8f
Author: Jérémy Lal <kapouer at melix.org>
Date: Mon May 14 16:49:47 2012 +0200
Add 0003-fix_require_in_tests.patch
diff --git a/debian/patches/0003-fix_require_in_tests.patch b/debian/patches/0003-fix_require_in_tests.patch
new file mode 100644
index 0000000..ea7ee41
--- /dev/null
+++ b/debian/patches/0003-fix_require_in_tests.patch
@@ -0,0 +1,67 @@
+Description: Fix require in test/test*.rb
+ Those tests cannot be invoked from CURDIR
+Forwarded: not-needed
+Author: Jérémy Lal <kapouer at melix.org>
+Last-Update: 2012-05-14
+--- a/test/test_entry.rb
++++ b/test/test_entry.rb
+@@ -1,4 +1,4 @@
+-require 'common'
++require 'test/common'
+
+ =begin
+ class TestEntry < Test::Unit::TestCase
+--- a/test/test_filter.rb
++++ b/test/test_filter.rb
+@@ -1,4 +1,4 @@
+-require 'common'
++require 'test/common'
+
+ class TestFilter < Test::Unit::TestCase
+ Filter = Net::LDAP::Filter
+--- a/test/test_ldap_connection.rb
++++ b/test/test_ldap_connection.rb
+@@ -1,4 +1,4 @@
+-require 'common'
++require 'test/common'
+
+ class TestLDAP < Test::Unit::TestCase
+ def test_modify_ops_delete
+--- a/test/test_ldif.rb
++++ b/test/test_ldif.rb
+@@ -1,6 +1,6 @@
+ # $Id: testldif.rb 61 2006-04-18 20:55:55Z blackhedd $
+
+-require 'common'
++require 'test/common'
+
+ require 'digest/sha1'
+ require 'base64'
+--- a/test/test_password.rb
++++ b/test/test_password.rb
+@@ -1,6 +1,6 @@
+ # $Id: testpsw.rb 72 2006-04-24 21:58:14Z blackhedd $
+
+-require 'common'
++require 'test/common'
+
+ class TestPassword < Test::Unit::TestCase
+
+--- a/test/test_rename.rb
++++ b/test/test_rename.rb
+@@ -1,4 +1,4 @@
+-require 'common'
++require 'test/common'
+
+ # Commented out since it assumes you have a live LDAP server somewhere. This
+ # will be migrated to the integration specs, as soon as they are ready.
+--- a/test/test_snmp.rb
++++ b/test/test_snmp.rb
+@@ -1,6 +1,6 @@
+ # $Id: testsnmp.rb 231 2006-12-21 15:09:29Z blackhedd $
+
+-require 'common'
++require 'test/common'
+ require 'net/snmp'
+
+ class TestSnmp < Test::Unit::TestCase
--
ruby-net-ldap.git
More information about the Pkg-ruby-extras-commits
mailing list