diff options
Diffstat (limited to 'test/testunit')
-rw-r--r-- | test/testunit/test_parallel.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb index 8f921e01d1..cd9587cee5 100644 --- a/test/testunit/test_parallel.rb +++ b/test/testunit/test_parallel.rb @@ -117,14 +117,6 @@ module TestParallel assert_match(/^bye$/m,@worker_out.read) end end - - def test_quit_in_test - timeout(10) do - @worker_in.puts "run #{TESTS}/test_third.rb ptest" - @worker_in.puts "quit" - assert_match(/^ready\nokay\nbye/m,@worker_out.read) - end - end end class TestParallel < Test::Unit::TestCase @@ -137,7 +129,7 @@ module TestParallel def spawn_runner(*opt_args) @test_out, o = IO.pipe @test_pid = spawn(*@options[:ruby], TESTS+"/runner.rb", - "-j","t2","-x","sleeping",*opt_args, out: o) + "-j","t2","-x","sleeping",*opt_args, out: o, err: :out) o.close end |