File: disable-rubygems-in-tests.patch

package info (click to toggle)
ruby-net-ssh 1%3A2.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,252 kB
  • sloc: ruby: 12,000; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Disable rubygems in tests.
 In order to use test/unit >= 2.0, the test suite uses rubygems. This is
 not needed in Debian.
Author: Lucas Nussbaum <lucas@lucas-nussbaum.net>
Forwarded: not-needed

--- a/test/common.rb
+++ b/test/common.rb
@@ -1,5 +1,5 @@
 $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
-gem "test-unit" # http://rubyforge.org/pipermail/test-unit-tracker/2009-July/000075.html
+#gem "test-unit" # http://rubyforge.org/pipermail/test-unit-tracker/2009-July/000075.html
 require 'test/unit'
 require 'mocha'
 require 'net/ssh/buffer'