[Ruby 1.9 - Bug #356] (Open) test_flush(TestIONonblock): Errno::EBADF: Bad file descriptor

e$B%A%1%C%He(B #356 e$B$,Js9p$5$l$^$7$?!#e(B (by Kazuhiro NISHIYAMA)


Bug #356: test_flush(TestIONonblock): Errno::EBADF: Bad file descriptor
http://redmine.ruby-lang.org/issues/show/356

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open
e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B:
e$B%+%F%4%je(B: ext
Target version:

Ubuntu
8.04.1e$B$N4D6-$Ge(Btest_flush(TestIONonblock)e$B$,e(BErrno::EBADFe$B$K$J$j$^$9!#e(B
Debiane$B$J$I$NB>$N4D6-$G$Oe(B(e$B;n$7$?HO0OFb$G$Oe(B)e$B:F8=$7$^$;$s$G$7$?!#e(B

% ruby-trunk -v test/io/nonblock/test_flush.rb
ruby 1.9.0 (2008-07-23 revision 18181) [i686-linux]
Loaded suite test/io/nonblock/test_flush
Started
E
Finished in 0.001041173 seconds.

  1. Error:
    test_flush(TestIONonblock):
    Errno::EBADF: Bad file descriptor
    test/io/nonblock/test_flush.rb:27:in flush' test/io/nonblock/test_flush.rb:27:in block in test_flush’
    /home/kazu/opt/ruby-trunk/lib/ruby/1.9.0/timeout.rb:52:in timeout' /home/kazu/opt/ruby-trunk/lib/ruby/1.9.0/timeout.rb:82:in timeout’
    test/io/nonblock/test_flush.rb:17:in `test_flush’

1 tests, 0 assertions, 0 failures, 1 errors
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy
%

e$B%A%1%C%He(B #356 e$B$,99?7$5$l$^$7$?!#e(B (by Anonymous)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r18372.

http://redmine.ruby-lang.org/issues/show/356