[rubygem-tilt] Added patch.
Vít Ondruch
vondruch at fedoraproject.org
Fri Jun 24 12:03:11 UTC 2011
commit 2b5285b05f6ea1e57e0050c0c01fcbd80b2952b9
Author: Vít Ondruch <vondruch at redhat.com>
Date: Fri Jun 24 14:02:51 2011 +0200
Added patch.
Fix-compilesite-test-for-multiple-threads.patch | 25 +++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/Fix-compilesite-test-for-multiple-threads.patch b/Fix-compilesite-test-for-multiple-threads.patch
new file mode 100644
index 0000000..1896d4b
--- /dev/null
+++ b/Fix-compilesite-test-for-multiple-threads.patch
@@ -0,0 +1,25 @@
+From a07077f4737754757e99c2d42267f432289ffd13 Mon Sep 17 00:00:00 2001
+From: Magnus Holm <judofyr at gmail.com>
+Date: Fri, 24 Jun 2011 10:43:55 +0200
+Subject: [PATCH] Fix compilesite test for multiple threads (closes #93)
+
+---
+ test/tilt_compilesite_test.rb | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/test/tilt_compilesite_test.rb b/test/tilt_compilesite_test.rb
+index 1ba6433..2944c84 100644
+--- a/test/tilt_compilesite_test.rb
++++ b/test/tilt_compilesite_test.rb
+@@ -39,7 +39,7 @@ class CompileSiteTest < Test::Unit::TestCase
+ locals = { "local#{i}" => 'value' }
+ res = template.render(self, locals)
+ thread_id = Thread.current.object_id
+- res = template.render(self, "local#{thread_id.to_s}" => 'value')
++ res = template.render(self, "local#{thread_id.abs.to_s}" => 'value')
+ rescue => boom
+ main_thread.raise(boom)
+ end
+--
+1.7.5.4
+
More information about the scm-commits
mailing list