From 7e85d9bf7b07520ae8274f83a7d0133520495a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 22 Feb 2013 14:50:53 +0100 Subject: [PATCH] Hopefuly replaced by ruby-1.9.3.p195-fix-webrick-tests.patch. --- ...ignore-internal-server-error-on-test.patch | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 ruby-1.9.3-p327-ignore-internal-server-error-on-test.patch diff --git a/ruby-1.9.3-p327-ignore-internal-server-error-on-test.patch b/ruby-1.9.3-p327-ignore-internal-server-error-on-test.patch deleted file mode 100644 index ab37119..0000000 --- a/ruby-1.9.3-p327-ignore-internal-server-error-on-test.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- ruby-1.9.3-p327/test/webrick/test_cgi.rb.koji 2012-08-28 00:40:30.000000000 +0900 -+++ ruby-1.9.3-p327/test/webrick/test_cgi.rb 2012-11-10 16:33:36.000000000 +0900 -@@ -28,6 +28,15 @@ - end - - def test_cgi -+''' -+On koji: -+test_cgi(TestWEBrickCGI) [/builddir/build/BUILD/ruby-1.9.3-p327/test/webrick/test_cgi.rb:34]: -+.... -+.... -+<"/webrick.cgi"> expected but was -+<"\n\n Internal Server Error\n \n

Internal Server Error

\n Broken pipe\n
\n
\n WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) OpenSSL/1.0.1c at\n 127.0.0.1:58617\n
\n \n\n">. -+''' -+ return # Skip on koji - start_cgi_server{|server, addr, port, log| - http = Net::HTTP.new(addr, port) - req = Net::HTTP::Get.new("/webrick.cgi") -@@ -84,6 +93,13 @@ - end - - def test_bad_request -+''' -+On koji: -+test_bad_request(TestWEBrickCGI) [/builddir/build/BUILD/ruby-1.9.3-p327/test/webrick/test_cgi.rb:96]: -+.... -+Expected /\AHTTP\/\d.\d 400 Bad Request/ to match "HTTP/1.1 500 Internal Server Error \r\nContent-Type: text/html; charset=ISO-8859-1\r\nServer: WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) OpenSSL/1.0.1c\r\nDate: Sat, 10 Nov 2012 07:17:08 GMT\r\nContent-Length: 307\r\nConnection: close\r\n\r\n\n\n Internal Server Error\n \n

Internal Server Error

\n Broken pipe\n
\n
\n WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) OpenSSL/1.0.1c at\n localhost:41188\n
\n \n\n". -+''' -+ return # Skip on koji - start_cgi_server{|server, addr, port, log| - sock = TCPSocket.new(addr, port) - begin ---- ruby-1.9.3-p327/test/webrick/test_filehandler.rb.koji 2012-08-28 00:40:30.000000000 +0900 -+++ ruby-1.9.3-p327/test/webrick/test_filehandler.rb 2012-11-10 16:33:02.000000000 +0900 -@@ -244,6 +244,14 @@ - end - - def test_script_disclosure -+''' -+On koji: -+test_script_disclosure(WEBrick::TestFileHandler) [/builddir/build/BUILD/ruby-1.9.3-p327/test/webrick/test_filehandler.rb:265]: -+.... -+<"200"> expected but was -+<"500">. -+''' -+ return # Skip on koji - config = { - :CGIInterpreter => TestWEBrick::RubyBin, - :DocumentRoot => File.dirname(__FILE__),