about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-18 19:38:47 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2007-10-18 19:38:47 +0000
commit06c1d5492bb6f89911fb8662ed7b5d9bafdd7010 (patch)
tree7a2e353c1111e1d09fbc172e307322ecc98081c6 /test
parent9b23459be9faf307162ddab2c5a7fe6797952a13 (diff)
downloadunicorn-06c1d5492bb6f89911fb8662ed7b5d9bafdd7010.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@688 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'test')
-rw-r--r--test/test_configurator.rb6
-rw-r--r--test/testhelp.rb5
2 files changed, 8 insertions, 3 deletions
diff --git a/test/test_configurator.rb b/test/test_configurator.rb
index d8e9a11..5d1bee9 100644
--- a/test/test_configurator.rb
+++ b/test/test_configurator.rb
@@ -77,9 +77,9 @@ class ConfiguratorTest < Test::Unit::TestCase
       assert $test_plugin_fired == 6, "Test filter plugin didn't run 6 times."
     end
 
-    redirect_test_io do
-      config.stop(false, true)
-    end
+#    redirect_test_io do
+      config.stop(false, false)
+#    end
 
     assert_raise Errno::EBADF, Errno::ECONNREFUSED do
       res = Net::HTTP.get(URI.parse("http://localhost:4501/"))
diff --git a/test/testhelp.rb b/test/testhelp.rb
index 78956a9..9bf719f 100644
--- a/test/testhelp.rb
+++ b/test/testhelp.rb
@@ -4,6 +4,11 @@
 # Additional work donated by contributors.  See http://mongrel.rubyforge.org/attributions.html
 # for more information.
 
+if ENV['DEBUG']
+  require 'ruby-debug'
+  Debugger.start
+end
+
 def redirect_test_io
   orig_err = STDERR.dup
   orig_out = STDOUT.dup