mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	test_pty.rb: reap zombie
* test/test_pty.rb (test_cloexec): reap zombie than leaving to detaching thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									b0f623f5f4
								
							
						
					
					
						commit
						9f473df72a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -211,6 +211,7 @@ class TestPTY < Test::Unit::TestCase
 | 
			
		|||
    PTY.spawn(RUBY, '-e', '') {|r, w, pid|
 | 
			
		||||
      assert(r.close_on_exec?)
 | 
			
		||||
      assert(w.close_on_exec?)
 | 
			
		||||
      Process.wait(pid)
 | 
			
		||||
    }
 | 
			
		||||
  rescue RuntimeError
 | 
			
		||||
    skip $!
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue