public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-servers/thin/files: thin-1.2.5-tests.patch
@ 2010-01-21 10:55 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-01-21 10:55 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/01/21 10:55:25

  Added:                thin-1.2.5-tests.patch
  Log:
  Port to fakegem, add a patch to fix partly-broken tests.
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-servers/thin/files/thin-1.2.5-tests.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/files/thin-1.2.5-tests.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/thin/files/thin-1.2.5-tests.patch?rev=1.1&content-type=text/plain

Index: thin-1.2.5-tests.patch
===================================================================
unchanged:
--- a/spec/request/processing_spec.rb
+++ b/spec/request/processing_spec.rb
@@ -44,6 +44,7 @@ describe Request, 'processing' do
   end
   
   it "should set body external encoding to ASCII_8BIT" do
+    pending("Ruby 1.9 compatible implementations only") unless StringIO.instance_methods.include? :external_encoding
     Request.new.body.external_encoding.should == Encoding::ASCII_8BIT
   end
 end
\ No newline at end of file
only in patch2:
unchanged:
--- a/spec/server_spec.rb
+++ b/spec/server_spec.rb
@@ -12,6 +12,10 @@ describe Server do
   end
 
   it "should set lower maximum_connections size when too large" do
+    # root users under Linux will not have a limitation on maximum
+    # connections, so we cannot really run this test under that
+    # condition.
+    pending("only for non-root users") if Process.euid == 0
     @server.maximum_connections = 100_000
     @server.config
     @server.maximum_connections.should < 100_000






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in www-servers/thin/files: thin-1.2.5-tests.patch
@ 2013-07-16 10:08 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2013-07-16 10:08 UTC (permalink / raw
  To: gentoo-commits

graaff      13/07/16 10:08:03

  Removed:              thin-1.2.5-tests.patch
  Log:
  Cleanup.
  
  (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-16 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16 10:08 [gentoo-commits] gentoo-x86 commit in www-servers/thin/files: thin-1.2.5-tests.patch Hans de Graaff (graaff)
  -- strict thread matches above, loose matches on Subject: below --
2010-01-21 10:55 Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox