[DRE-commits] [ruby-libxml] 04/07: Drop 0100_run_builtin_shell_command_ulimit_in_tests.patch

Cédric Boutillier boutil at moszumanska.debian.org
Sat Jul 2 19:44:41 UTC 2016


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

boutil pushed a commit to branch master
in repository ruby-libxml.

commit 693195e23ecf3aad7ee32accb9f18ba740fdbedb
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Jul 2 20:59:40 2016 +0200

    Drop 0100_run_builtin_shell_command_ulimit_in_tests.patch
---
 ...100_run_builtin_shell_command_ulimit_in_tests.patch | 18 ------------------
 debian/patches/series                                  |  1 -
 2 files changed, 19 deletions(-)

diff --git a/debian/patches/0100_run_builtin_shell_command_ulimit_in_tests.patch b/debian/patches/0100_run_builtin_shell_command_ulimit_in_tests.patch
deleted file mode 100644
index 1f3734e..0000000
--- a/debian/patches/0100_run_builtin_shell_command_ulimit_in_tests.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: run correctly the built-in command "ulimit"
- ulimit is a built-in shell command and cannot be simply called from ruby with
- backticks. Passing the command as a string to sh with the -c switch seems to be
- the correct way to do this.
-Author: Cédric Boutillier <cedric.boutillier at gmail.com>
-Last-Update:2013-08-19
-
---- a/test/tc_parser.rb
-+++ b/test/tc_parser.rb
-@@ -246,7 +246,7 @@ class TestParser < Test::Unit::TestCase
-     max_fd = if RUBY_PLATFORM.match(/mswin32|mingw/i)
-       500
-     else
--      (`ulimit -n`.chomp.to_i) + 1
-+      (`sh -c "ulimit -n"`.chomp.to_i) + 1
-     end
- 
-     file = File.join(File.dirname(__FILE__), 'model/rubynet.xml')
diff --git a/debian/patches/series b/debian/patches/series
index e307d60..d763a45 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-0100_run_builtin_shell_command_ulimit_in_tests.patch
 libxml2-2.9.2.patch
 avoid_infinite_loop_ruby22.patch
 avoid_messing_with_loadpath.patch

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



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