~ubuntu-branches/ubuntu/quantal/ruby1.9.1/quantal

« back to all changes in this revision

Viewing changes to debian/patches/940_test_priority_fails.diff

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2011-09-24 19:16:17 UTC
  • mfrom: (1.1.8 upstream) (13.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110924191617-o1qz4rcmqjot8zuy
Tags: 1.9.3~rc1-1
* New upstream release: 1.9.3 RC1.
  + Includes load.c fixes. Closes: #639959.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 940_test_priority_fails.dpatch by Lucas Nussbaum <lucas@lucas-nussbaum.net>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: test_priority (in test_thread.rb) fails.
6
 
## DP: See http://redmine.ruby-lang.org/issues/show/1169
7
 
 
8
 
@DPATCH@
9
 
Index: b/test/ruby/test_thread.rb
10
 
===================================================================
11
 
--- a/test/ruby/test_thread.rb  2010-07-20 21:46:16.000000000 +0900
12
 
+++ b/test/ruby/test_thread.rb  2010-07-20 21:46:17.000000000 +0900
13
 
@@ -115,7 +115,7 @@
14
 
     }
15
 
   end
16
 
 
17
 
-  def test_priority
18
 
+  def est_priority
19
 
     c1 = c2 = 0
20
 
     t1 = Thread.new { loop { c1 += 1 } }
21
 
     t1.priority = -1