From: Simon Strandgaard Date: 2004-02-17T02:14:54+09:00 Subject: Re: `close': Bad file descriptor - filename (Errno::EBADF) On Mon, 16 Feb 2004 17:02:50 +0100, Simon Strandgaard wrote: > Chad Fowler and I are working on upgrading rubicon for ruby-1.8.1. > We have made a transition from rubyunit to now use testunit. > > You can see the pending bugs here: > http://rubyforge.org/tracker/?func=browse&group_id=179&atid=751 > Please comment on these :-) > Ok I have one last problem with Bad File Descriptor. The source code for TestIO.rb is here: http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/rubicon/builtin/TestIO.rb?cvsroot=rubytests server> ruby TestIO.rb Loaded suite TestIO Started ..S.....E....S......S.................................... Finished in 0.833549 seconds. 1) Error: test_closed?(TestIO): Errno::EBADF: Bad file descriptor - _test/_99lines TestIO.rb:19:in `close' TestIO.rb:19:in `open' TestIO.rb:19:in `setup' 53 tests, 1242 assertions, 0 failures, 1 errors server> -- Simon Strandgaard